Agrarsense
|
#include <Walker.h>
Public Member Functions | |
AWalker () | |
virtual void | PauseWalker () |
virtual void | ResumeWalker () |
virtual void | SetIgnoreInput (bool IgnoreInput) |
FString | ExportToJsonFile (const FString &FileName) |
void | DebugDrawLinesBetweenPoints (float LifeTime=10.0f) |
void | ChangeWalkerParameters (const FWalkerParameters &newParameters) |
void | SetWalkerParameters (const FWalkerParameters &InParameters) |
virtual EWalkerType | GetWalkerType () const |
FWalkerParameters | GetWalkerParameters () const |
FTransform | GetStartTransform () const |
FTransform | GetEndTransform () const |
bool | IsWalkerPaused () const |
virtual FText | GetInteractableName_Implementation () const override |
virtual FTransform | GetInteractableWorldTransform_Implementation () const override |
virtual FString | GetActorID_Implementation () const override |
virtual FString | GetActorName_Implementation () const override |
virtual FString | GetActorInformation_Implementation () const override |
virtual void | SetActorName_Implementation (const FString &NewActorName) override |
virtual void | SetActorIDAndName_Implementation (const FString &NewActorName, const FString &NewID) override |
Public Member Functions inherited from IInteractable | |
FText | GetInteractableName () const |
FTransform | GetInteractableWorldTransform () const |
Public Member Functions inherited from IActorInformation | |
FString | GetActorID () const |
FString | GetActorName () const |
FString | GetActorInformation () const |
void | SetActorName (const FString &NewActorName) |
void | SetActorIDAndName (const FString &NewActorName, const FString &NewID) |
Public Attributes | |
FWalkerEventDelegate_ParametersChanged | OnWalkerParametersChanged |
FText | InteractableName |
Protected Member Functions | |
virtual void | BeginPlay () override |
virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
Protected Attributes | |
FString | ActorName |
FString | ActorID |
Private Attributes | |
bool | WalkerIsPaused = true |
FWalkerParameters | WalkerParameters |
FWalkerParameters | PreviousParameters |
Additional Inherited Members | |
Static Public Member Functions inherited from IActorInformation | |
static void | SetAndValidateActorIDAndName (FString &ActorName, FString &ActorID, TWeakObjectPtr< AActor > Actor) |
static bool | DestroyActorByID (const FString &ID) |
static AActor * | GetActorByID (const FString &ID) |
template<typename T > | |
static TArray< T * > | GetActorsWithInterface () |
static void | PrintAllIds () |
AWalker::AWalker | ( | ) |
Definition at line 18 of file Walker.cpp.
References InteractableName.
|
overrideprotectedvirtual |
Definition at line 24 of file Walker.cpp.
|
inline |
Definition at line 56 of file Walker.h.
Referenced by PauseWalker(), and ResumeWalker().
void AWalker::DebugDrawLinesBetweenPoints | ( | float | LifeTime = 10.0f | ) |
Definition at line 68 of file Walker.cpp.
References FollowPath, FWalkerParameters::Points, FWalkerParameters::WalkerAction, and WalkerParameters.
|
overrideprotectedvirtual |
Definition at line 29 of file Walker.cpp.
FString AWalker::ExportToJsonFile | ( | const FString & | FileName | ) |
Export this Walker and parameters to a JSON file.
FileName | The name of the file without extension. |
Definition at line 63 of file Walker.cpp.
References USimulatorJsonExporter::ExportWalkerToJSON().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Definition at line 127 of file Walker.h.
References UEnumUtilities::ConvertWalkerTypeToString(), and Walker.
|
inlineoverridevirtual |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
Definition at line 80 of file Walker.h.
References FWalkerParameters::Points.
|
inline |
|
inlinevirtual |
Definition at line 68 of file Walker.h.
References FWalkerParameters::WalkerType.
|
virtual |
Definition at line 34 of file Walker.cpp.
References ChangeWalkerParameters(), PreviousParameters, SetIgnoreInput(), Stationary, FWalkerParameters::WalkerAction, and WalkerParameters.
|
virtual |
Definition at line 42 of file Walker.cpp.
References ChangeWalkerParameters(), PreviousParameters, SetIgnoreInput(), WalkerIsPaused, and WalkerParameters.
|
inlineoverridevirtual |
Definition at line 145 of file Walker.h.
|
inlineoverridevirtual |
|
virtual |
Definition at line 52 of file Walker.cpp.
References WalkerIsPaused.
Referenced by PauseWalker(), and ResumeWalker().
|
inline |
FWalkerEventDelegate_ParametersChanged AWalker::OnWalkerParametersChanged |
|
private |
Definition at line 179 of file Walker.h.
Referenced by PauseWalker(), and ResumeWalker().
|
private |
Definition at line 174 of file Walker.h.
Referenced by ResumeWalker(), and SetIgnoreInput().
|
private |
Definition at line 177 of file Walker.h.
Referenced by DebugDrawLinesBetweenPoints(), PauseWalker(), and ResumeWalker().