Navigation
API > API/Plugins > API/Plugins/RemoteControlLogic
Container for created actions
| Name | URCActionContainer |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/RemoteControl/Source/RemoteControlLogic/Public/Action/RCActionContainer.h |
| Include Path | #include "Action/RCActionContainer.h" |
Syntax
UCLASS ()
class URCActionContainer : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URCActionContainer
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActionContainers | TSet< TObjectPtr< URCActionContainer > > | Set of child action container | Action/RCActionContainer.h | |
| OnActionsListModified | FOnActionsListModified | Delegate that notifies changes to the list of actions to a single listener | Action/RCActionContainer.h | |
| PresetWeakPtr | TWeakObjectPtr< URemoteControlPreset > | Reference to Preset | Action/RCActionContainer.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Actions | TSet< TObjectPtr< URCAction > > | The list of Actions present in this container | Action/RCActionContainer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URCAction * AddAction
(
TRCActionUniquenessTest InUniquenessTest, |
Add remote control property action | Action/RCActionContainer.h | |
| Register a newly created Action with the Action container, provides Undo/Redo support. | Action/RCActionContainer.h | ||
URCAction * AddAction
(
const TSharedRef< const FRemoteControlField > InRemoteControlField |
Add remote control property action | Action/RCActionContainer.h | |
| Add remote control identity action. | Action/RCActionContainer.h | ||
| Add remote control identity action. | Action/RCActionContainer.h | ||
void EmptyActions() |
Empty action set | Action/RCActionContainer.h | |
void ExecuteActions() |
Execute container actions | Action/RCActionContainer.h | |
URCAction * FindActionByField
(
const TSharedRef< const FRemoteControlField > InRemoteControlField |
Find Action by given remote control field | Action/RCActionContainer.h | |
| Find Action by given exposed filed id | Action/RCActionContainer.h | ||
void ForEachAction
(
TFunctionRef< void(URCAction*)> InActionFunction, |
Call the given function on all actions of the container. | Action/RCActionContainer.h | |
const TSet< TObjectPtr< URCAction > > & GetActions() |
Retrieves the actions present in this container | Action/RCActionContainer.h | |
TRCActionUniquenessTest GetDefaultActionUniquenessTest
(
const TSharedRef< const FRemoteControlField > InRemoteControlField |
Action/RCActionContainer.h | ||
URCBehaviour * GetParentBehaviour() |
Derive the parent Behaviour holding this Action Container | Action/RCActionContainer.h | |
TArray< const URCPropertyAction * > GetPropertyActions() |
Retrieves all the Property Actions present in this container | Action/RCActionContainer.h | |
virtual int32 RemoveAction
(
const FGuid InExposedFieldId |
Remove action by exposed field Id | Action/RCActionContainer.h | |
virtual int32 RemoveAction
(
URCAction* InAction |
Remove Action by given action UObject | Action/RCActionContainer.h | |
void UpdateEntityUsage
(
const URCBehaviour* InBehavior, |
Action/RCActionContainer.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditUndo () |
Called after applying a transaction to the object. | Action/RCActionContainer.h |