Navigation
API > API/Plugins > API/Plugins/RemoteControlLogic > API/Plugins/RemoteControlLogic/Controller
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URCVirtualPropertyBase
- URCVirtualPropertyInContainer
- URCController
References
| Module | RemoteControlLogic |
| Header | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControlLogic/Public/Controller/RCController.h |
| Include | #include "Controller/RCController.h" |
Syntax
UCLASS (BlueprintType)
class URCController : public URCVirtualPropertyInContainer
Remarks
Remote Control Controller. Container for Behaviours and Actions
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSet< TObjectPtr< URCBehaviour > > | Behaviours | Set of the behaviours | |
| FOnBehaviourListModified | OnBehaviourListModified | Delegate that notifies changes to the list of behaviours |
Functions
| Type | Name | Description | |
|---|---|---|---|
| URCBehaviour * | AddBehaviour
(
TSubclassOf< URCBehaviourNode > InBehaviourNodeClass |
Create and add behaviour to behaviour set | |
| URCBehaviour * | CreateBehaviour
(
TSubclassOf< URCBehaviourNode > InBehaviourNodeClass |
Create new behaviour | |
| URCBehaviour * | CreateBehaviourWithoutCheck
(
TSubclassOf< URCBehaviourNode > InBehaviourNodeClass |
Create new behaviour without checking if supported | |
| URCBehaviour * | DuplicateBehaviour
(
URCController* InController, |
Duplicates an existing behaviour and adds it to the behaviour set of a given Controller | |
| void | Removes all behaviours. | ||
| void | ExecuteBehaviours
(
const bool bIsPreChange |
Execute all behaviours for this controller. | |
| int32 | RemoveBehaviour
(
URCBehaviour* InBehaviour |
Remove the behaviour by behaviour UObject pointer | |
| int32 | RemoveBehaviour
(
const FGuid InBehaviourId |
Remove the behaviour by behaviour id |
Overridden from URCVirtualPropertyBase
| Type | Name | Description | |
|---|---|---|---|
| void | Handles modifications to controller value; evaluates all behaviours | ||
| void | Pre-change notification for Controllers. | ||
| void | UpdateEntityIds
(
const TMap< FGuid, FGuid >& InEntityIdMap |
Called internally when entity Ids are renewed. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditUndo () |
Called after applying a transaction to the object. |