Navigation
API > API/Plugins > API/Plugins/RemoteControlLogic
Custom behaviour for Set Asset By Path
| Name | URCSetAssetByPathBehaviour |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControlLogic/Public/Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h |
| Include Path | #include "Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h" |
Syntax
UCLASS ()
class URCSetAssetByPathBehaviour : public URCBehaviour
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URCBehaviour → URCSetAssetByPathBehaviour
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URCSetAssetByPathBehaviour() |
Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetClass | TObjectPtr< UClass > | Pointer to the current Class the Asset will use to set the Targeted Exposed Object. | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
| bInternal | bool | Bool used to help tell if the path given is an internal or external one. | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
| PathStruct | FRCSetAssetPath | Struct holding the Path Information to help load Assets. | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
| PropertyInContainer | TObjectPtr< URCVirtualPropertyContainerBase > | Pointer to property container | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TargetEntity | TSharedPtr< const FRemoteControlEntity > | Internal Targeted Property, used for any of the setter operations | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
| TargetEntityId | FGuid | Targeted Property Id | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString GetCurrentPath() |
Returns the Path as the completed version, including Token Inputs. | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
| List of Supported Assets SetAssetByPath Logic Behaviour can set and change. | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | ||
TWeakPtr< const FRemoteControlEntity > GetTargetEntity() |
Returns a Pointer to the current Target Entity | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
const FGuid & GetTargetEntityId() |
Returns the current Target Entity Id | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
void RefreshPathArray() |
Called whenever a change has occured in the Slate | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
bool SetAssetByPath
(
const FString& AssetPath, |
Given an Input Path, sets the Target Exposed Property to the Asset. | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
void SetTargetEntity
(
const TSharedPtr< const FRemoteControlEntity >& InEntity |
Sets the target entity upon which the asset will be set upon. | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
void UpdateTargetEntity() |
Auxiliary Function to apply to update the Target Texture | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h |
Overridden from URCBehaviour
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize() |
Initialize behaviour functionality | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
virtual bool SupportPropertyId() |
Whether the behaviour support property id, by default true because of the OnModify Behaviour | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h | |
| Called internally when entity Ids are renewed. | Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Behaviour/Builtin/Path/RCSetAssetByPathBehaviour.h |