Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMModel
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URigVMActionStack
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMControllerActions.h |
| Include | #include "RigVMModel/RigVMControllerActions.h" |
Syntax
UCLASS&40;&41;
class URigVMActionStack : public UObject
Remarks
The Action Stack can be used to track actions happening on a Graph. Currently the only owner of the ActionStack is the Controller. Actions can be added to the stack, or they can be understood as scopes / brackets. For this you can use BeginAction / EndAction / CancelAction to open / close a bracket. Open brackets automatically record additional actions occuring during the bracket's lifetime.
Destructors
No destructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddAction
(
const ActionType& InAction, |
Adds an action to the stack. | |
| void | BeginAction
(
ActionType& InAction |
Begins an action and opens a bracket / scope. | |
| void | CancelAction
(
ActionType& InAction |
Cancels an action, closes a bracket / scope and discards all actions to this point. | |
| bool | CancelUndoBracket
(
URigVMController* InController |
Cancels an undo bracket / scope. This is primary useful for Python. | |
| bool | CloseUndoBracket
(
URigVMController* InController |
Closes an undo bracket / scope. This is primary useful for Python. | |
| void | EndAction
(
ActionType& InAction, |
Ends an action and closes a bracket / scope. | |
| FRigVMGraphModifiedEvent & | OnModified () |
||
| bool | OpenUndoBracket
(
URigVMController* InController, |
Opens an undo bracket / scope to record actions into. This is primary useful for Python. | |
| bool | Redo
(
URigVMController* InController |
Pops the last action from the redo stack and perform redo on it. | |
| bool | Undo
(
URigVMController* InController |
Pops the last action from the undo stack and perform undo on it. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostTransacted
(
const FTransactionObjectEvent& TransactionEvent |
Called after the object has been transacted in some way. |