Navigation
API > API/Plugins > API/Plugins/RemoteControlLogic
Remote Control Controller. Container for Behaviours and Actions
| Name | URCController |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControlLogic/Public/Controller/RCController.h |
| Include Path | #include "Controller/RCController.h" |
Syntax
UCLASS (BlueprintType)
class URCController : public URCVirtualPropertyInContainer
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URCVirtualPropertyBase → URCVirtualPropertyInContainer → URCController
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Behaviours | TSet< TObjectPtr< URCBehaviour > > | Deprecated set of behaviors | Controller/RCController.h |
|
| OnBehaviourListModified | FOnBehaviourListModified | Delegate that notifies changes to the list of behaviours | Controller/RCController.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual URCBehaviour * AddBehaviour
(
TSubclassOf< URCBehaviourNode > InBehaviourNodeClass |
Create and add behaviour to behaviour set | Controller/RCController.h | |
virtual URCBehaviour * CreateBehaviour
(
TSubclassOf< URCBehaviourNode > InBehaviourNodeClass |
Create new behaviour | Controller/RCController.h | |
virtual URCBehaviour * CreateBehaviourWithoutCheck
(
TSubclassOf< URCBehaviourNode > InBehaviourNodeClass |
Create new behaviour without checking if supported | Controller/RCController.h | |
virtual void EmptyBehaviours() |
Removes all behaviours. | Controller/RCController.h | |
virtual void ExecuteBehaviours
(
const bool bIsPreChange |
Execute all behaviours for this controller. | Controller/RCController.h | |
TConstArrayView< TObjectPtr< URCBehaviour > > GetBehaviors() |
Controller/RCController.h | ||
bool HasBehavior
(
const URCBehaviour* InBehavior |
Returns true if the behaviour exist in this controller. | Controller/RCController.h | |
virtual void OnModifyPropertyValue() |
Handles modifications to controller value; evaluates all behaviours | Controller/RCController.h | |
virtual void OnPreChangePropertyValue () |
Pre-change notification for Controllers. | Controller/RCController.h | |
virtual void PostEditUndo () |
Called after applying a transaction to the object. | Controller/RCController.h | |
virtual void PostLoad() |
Controller/RCController.h | ||
virtual int32 RemoveBehaviour
(
URCBehaviour* InBehaviour |
Remove the behaviour by behaviour UObject pointer | Controller/RCController.h | |
virtual int32 RemoveBehaviour
(
const FGuid InBehaviourId |
Remove the behaviour by behaviour id | Controller/RCController.h | |
bool ReorderBehaviorItems
(
URCBehaviour* InDroppedOnBehavior, |
Rearranges the behaviors based on the dropped behaviours. | Controller/RCController.h | |
| Controller/RCController.h | |||
| Controller/RCController.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static URCBehaviour * DuplicateBehaviour
(
URCController* InController, |
Duplicates an existing behaviour and adds it to the behaviour set of a given Controller | Controller/RCController.h |