|
template<typename T > |
static T * | FindActorByName (UWorld *InWorld, const FString &InName, const ESearchCase::Type InCaseType=ESearchCase::IgnoreCase) |
| Find actor by name. GetAllActors() is expensive. More...
|
|
static AActor * | FindActorByName (const UObject *WorldContextObject, const FString &InName, const ESearchCase::Type InCaseType=ESearchCase::IgnoreCase) |
| Blueprint Callable, non template version of FindActorByName. More...
|
|
template<typename T > |
static T * | FindActorBySubname (UWorld *InWorld, const FString &InSubname, const ESearchCase::Type InCaseType=ESearchCase::IgnoreCase) |
| Find actor by subname. search actor whose name contains InSubname. More...
|
|
static AActor * | FindActorBySubname (const UObject *WorldContextObject, const FString &InSubname, const ESearchCase::Type InCaseType=ESearchCase::IgnoreCase) |
| Blueprint Callable, non template version of FindActorBySubname. More...
|
|
template<typename T > |
static TArray< T * > | FindActorListBySubname (UWorld *InWorld, const FString &InSubname, const ESearchCase::Type InCaseType=ESearchCase::IgnoreCase) |
|
static TArray< AActor * > | FindActorListBySubname (const UObject *WorldContextObject, const FString &InSubname, const ESearchCase::Type InCaseType=ESearchCase::IgnoreCase) |
|
static bool | GetRefTransform (const FString &RefActorName, const AActor *RefActor, FTransform &OutTransf) |
| Get the Ref Transform. More...
|
|
static bool | GetRefTransform (const FString &RefActorName, const AActor *RefActor, const UObject *WorldContextObject, FTransform &OutTransf, const bool Verbose=false) |
| Get the Ref Transform. If RefActor==nullptr, search actor from name. If no actor is found, return false and OutTransf = FTransform::Identity. More...
|
|
static bool | GetRefTransformByActor (const AActor *RefActor, FTransform &OutTransf, const bool Verbose=false) |
| Get the Ref Transform. If RefActor==nullptr, OutTransf = FTransform::Identity. More...
|
|
static bool | GetRefTransformByName (const FString &RefActorName, const UObject *WorldContextObject, FTransform &OutTransf, const bool Verbose=false) |
| Get the Ref Transform. Search actor from name. If no actor is found, return false and OutTransf = FTransform::Identity. More...
|
|
static FTransform | GetRelativeTransform (const FTransform &RefTransf, const FTransform &WorldTransf) |
| Get the transform in reference frame. More...
|
|
static FTransform | GetRelativeTransform (const AActor *RefActor, const FTransform &WorldTransf, const bool Verbose=false) |
| Get the transform in reference frame. If RefActor==nullptr, return WorldTransf. More...
|
|
static FTransform | GetRelativeTransform (const FString &RefActorName, const UObject *WorldContextObject, const FTransform &WorldTransf, const bool Verbose=false) |
| Get the transform in reference frame. If Actor with given name is not exists, return WorldTransf. More...
|
|
static FTransform | GetRelativeTransformFromActor (const AActor *RefActor, const FTransform &WorldTransf, const bool Verbose=false) |
| Blueprint wrapper for GetRelativeTransform. More...
|
|
static FTransform | GetRelativeTransformFromName (const FString &RefActorName, const UObject *WorldContextObject, const FTransform &WorldTransf, const bool Verbose=false) |
| Blueprint wrapper for GetRelativeTransform. More...
|
|
static bool | GetRelativeTransform (const FString &RefActorName, const AActor *RefActor, const FTransform &InTransf, FTransform &OutTransf) |
| Get the transform in reference frame. More...
|
|
static bool | GetRelativeTransform (const FString &RefActorName, const AActor *RefActor, const FTransform &InTransf, const UObject *WorldContextObject, FTransform &OutTransf) |
| Get the transform in reference frame. More...
|
|
static FTransform | GetWorldTransform (const FTransform &RefTransf, const FTransform &RelativeTransf) |
| Get the transform in world frame. More...
|
|
static FTransform | GetWorldTransform (const AActor *RefActor, const FTransform &RelativeTransf, const bool Verbose=false) |
| Get the transform in world frame. If RefActor==nullptr, return RelativeTransf. More...
|
|
static FTransform | GetWorldTransform (const FString &RefActorName, const UObject *WorldContextObject, const FTransform &RelativeTransf, const bool Verbose=false) |
| Get the transform in world frame. If RefActor==nullptr, return RelativeTransf. More...
|
|
static FTransform | GetWorldTransformFromActor (const AActor *RefActor, const FTransform &RelativeTransf, const bool Verbose=false) |
| Blueprint wrapper for GetRelativeTransform. More...
|
|
static FTransform | GetWorldTransformFromName (const FString &RefActorName, const UObject *WorldContextObject, const FTransform &RelativeTransf, const bool Verbose=false) |
| Blueprint wrapper for GetRelativeTransform. More...
|
|
static bool | GetWorldTransform (const FString &RefActorName, const AActor *RefActor, const FTransform &InTransf, FTransform &OutTransf) |
| Get the transform in world frame. More...
|
|
static bool | GetWorldTransform (const FString &RefActorName, const AActor *RefActor, const FTransform &InTransf, const UObject *WorldContextObject, FTransform &OutTransf) |
| Get the transform in world frame. More...
|
|
static FORCEINLINE FString | GetNewROS2NodeName (const FString &InAffix=FString()) |
| Create Unique name start with UE + InAffix_ + Guid. More...
|
|
static FORCEINLINE FString | ComposeROSFullFrameId (const FString &InPrefix, const TCHAR *InFrameId) |
| Create prefixed frame_id. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, FString &OutValue) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, float &OutValue, float InMultiplier=1.f) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, double &OutValue, double InMultiplier=1.) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, int &OutValue) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, bool &OutValue) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, FVector &OutValue) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, FRotator &OutValue) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, FQuat &OutValue) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static FORCEINLINE bool | GetJsonField (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, FTransform &OutValue) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
template<typename T > |
static FORCEINLINE bool | GetJsonFieldOrDefault (const TSharedPtr< FJsonObject > &InJsonObj, const FString &InFieldName, const T &InDefaultValue, T &OutValue) |
| Initialize OutValue with the value of the requested field in a FJsonObject. More...
|
|
static UPrimitiveComponent * | GetComponentOfActorFromName (const AActor *Actor, FName ComponentName) |
| Get the component of actor from component name. More...
|
|
static UPrimitiveComponent * | GetPhysicsConstraintComponent (const UPhysicsConstraintComponent *InConstraint, EConstraintFrame::Type Frame) |
| Get the Physics Constraint Component. More...
|
|
static FTransform | GetPhysicsConstraintTransform (const UPhysicsConstraintComponent *InConstraint, const FTransform InitialJointToChildLink, UPrimitiveComponent *InChildLink=nullptr) |
| Get the Physics Constraint Transform changes from initial joint transform, i.e. child link transfrom relative to joint. More...
|
|
static void | GetPhysicsConstraintTransform (const UPhysicsConstraintComponent *InConstraint, const FTransform InitialJointToChildLink, FVector &OutPosition, FRotator &OutOrientation, UPrimitiveComponent *InChildLink=nullptr) |
| Get the Physics Constraint Transform. More...
|
|
static FString | PascalToSnake (const FString &InPascalString, const bool InCheckNum=false) |
|
static USceneComponent * | FindChildComponentByClass (const USceneComponent *InTarget, const TSubclassOf< UActorComponent > InComponentClass, bool bIncludeAllDescendants=false) |
|