Documentation for the Unreal C++ Plugin
Loading...
Searching...
No Matches
ATeleportersSpot Class ReferenceBlueprintType

UCLASS(BlueprintType) More...

#include <BySpotTeleporter.h>

Inheritance diagram for ATeleportersSpot:
[legend]

Public Member Functions

 ATeleportersSpot ()
 
void ActivateSpot (bool InActivate)
 Activate or deactivate the Teleporter.
 
virtual void BeginPlay () override
 
bool IsActive ()
 

Public Attributes

FColor ActiveColorOfSpot = FColor(0, 153, 235)
 UPROPERTY(EditAnywhere, Category = "Spot | Color")
 
float BufferBoundsHeightDetection = 0.f
 UPROPERTY(EditAnywhere, Category = "Spot | Bounds")
 
float BufferBoundsRadiusDetection = -20.f
 UPROPERTY(EditAnywhere, Category = "Spot | Bounds")
 
bool IsSpotHaveCubeShape = false
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spot")
 
FColor NotActiveColorOfSpot = FColor(128,128,128)
 UPROPERTY(EditAnywhere, Category = "Spot | Color")
 
FOnCharacterTeleportedOnSpot OnCharacterTeleportedOnSpot
 UPROPERTY(BlueprintAssignable, Category = "Spot | Delegates")
 
UStaticMeshComponent * TeleportersSpotCylinder
 UPROPERTY(VisibleDefaultsOnly, BlueprintReadWrite, Category = "Spot")
 
UStaticMeshComponent * TeleportersSpotRing
 UPROPERTY(VisibleDefaultsOnly, BlueprintReadWrite, Category = "Spot")
 

Private Member Functions

 GENERATED_BODY ()
 

Private Attributes

bool bIsActive = false
 
UMaterialInstanceDynamic * CylinderMaterialInstanceDynamic
 UPROPERTY()
 
UMaterialInstanceDynamic * RingMaterialInstanceDynamic
 UPROPERTY()
 

Detailed Description

UCLASS(BlueprintType)

Definition at line 16 of file BySpotTeleporter.h.

Constructor & Destructor Documentation

◆ ATeleportersSpot()

ATeleportersSpot::ATeleportersSpot ( )

Definition at line 11 of file BySpotTeleporter.cpp.

Member Function Documentation

◆ ActivateSpot()

void ATeleportersSpot::ActivateSpot ( bool InActivate)

Activate or deactivate the Teleporter.

Parameters
InActivateWhether to activate or deactivate the Spot.

Definition at line 64 of file BySpotTeleporter.cpp.

Here is the caller graph for this function:

◆ BeginPlay()

void ATeleportersSpot::BeginPlay ( )
overridevirtual

Definition at line 45 of file BySpotTeleporter.cpp.

Here is the call graph for this function:

◆ GENERATED_BODY()

ATeleportersSpot::GENERATED_BODY ( )
private

◆ IsActive()

bool ATeleportersSpot::IsActive ( )

Definition at line 82 of file BySpotTeleporter.cpp.

Member Data Documentation

◆ ActiveColorOfSpot

FColor ATeleportersSpot::ActiveColorOfSpot = FColor(0, 153, 235)
EditAnywhere

UPROPERTY(EditAnywhere, Category = "Spot | Color")

Definition at line 56 of file BySpotTeleporter.h.

◆ bIsActive

bool ATeleportersSpot::bIsActive = false
private

Definition at line 85 of file BySpotTeleporter.h.

◆ BufferBoundsHeightDetection

float ATeleportersSpot::BufferBoundsHeightDetection = 0.f
EditAnywhere

UPROPERTY(EditAnywhere, Category = "Spot | Bounds")

Definition at line 68 of file BySpotTeleporter.h.

◆ BufferBoundsRadiusDetection

float ATeleportersSpot::BufferBoundsRadiusDetection = -20.f
EditAnywhere

UPROPERTY(EditAnywhere, Category = "Spot | Bounds")

Definition at line 62 of file BySpotTeleporter.h.

◆ CylinderMaterialInstanceDynamic

UMaterialInstanceDynamic* ATeleportersSpot::CylinderMaterialInstanceDynamic
private

UPROPERTY()

Definition at line 90 of file BySpotTeleporter.h.

◆ IsSpotHaveCubeShape

bool ATeleportersSpot::IsSpotHaveCubeShape = false
BlueprintReadWriteEditAnywhere

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Spot")

Definition at line 44 of file BySpotTeleporter.h.

◆ NotActiveColorOfSpot

FColor ATeleportersSpot::NotActiveColorOfSpot = FColor(128,128,128)
EditAnywhere

UPROPERTY(EditAnywhere, Category = "Spot | Color")

Definition at line 50 of file BySpotTeleporter.h.

◆ OnCharacterTeleportedOnSpot

FOnCharacterTeleportedOnSpot ATeleportersSpot::OnCharacterTeleportedOnSpot
BlueprintAssignable

UPROPERTY(BlueprintAssignable, Category = "Spot | Delegates")

Definition at line 74 of file BySpotTeleporter.h.

◆ RingMaterialInstanceDynamic

UMaterialInstanceDynamic* ATeleportersSpot::RingMaterialInstanceDynamic
private

UPROPERTY()

Definition at line 95 of file BySpotTeleporter.h.

◆ TeleportersSpotCylinder

UStaticMeshComponent* ATeleportersSpot::TeleportersSpotCylinder
VisibleDefaultsOnlyBlueprintReadWrite

UPROPERTY(VisibleDefaultsOnly, BlueprintReadWrite, Category = "Spot")

Definition at line 30 of file BySpotTeleporter.h.

◆ TeleportersSpotRing

UStaticMeshComponent* ATeleportersSpot::TeleportersSpotRing
VisibleDefaultsOnlyBlueprintReadWrite

UPROPERTY(VisibleDefaultsOnly, BlueprintReadWrite, Category = "Spot")

Definition at line 37 of file BySpotTeleporter.h.


The documentation for this class was generated from the following files: