Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/DecoratorBase
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/DecoratorBase/ExecutionContext.h |
| Include | #include "DecoratorBase/ExecutionContext.h" |
Syntax
struct FExecutionContext
Remarks
Execution Context
The execution context holds internal state during traversals of the animation graph.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FExecutionContext
(
TArrayView< const uint8 > GraphSharedData |
Creates an execution context for the specified graph. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destroys the execution context. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDecoratorPtr | AllocateNodeInstance
(
const FDecoratorBinding& ParentBinding, |
Allocates a new node instance from a decorator handle If the desired decorator lives in the current parent, a weak handle to it will be returned | |
| FDecoratorPtr | AllocateNodeInstance
(
FWeakDecoratorPtr ParentBinding, |
Allocates a new node instance from a decorator handle If the desired decorator lives in the current parent, a weak handle to it will be returned | |
| bool | GetInterface
(
FWeakDecoratorPtr DecoratorPtr, |
If no such decorator exists, nullptr is returned. | |
| bool | GetInterface
(
const FDecoratorBinding& Binding, |
If no such decorator exists, nullptr is returned. | |
| bool | GetInterfaceSuper
(
FWeakDecoratorPtr DecoratorPtr, |
If no such decorator exists, nullptr is returned. | |
| bool | GetInterfaceSuper
(
const FDecoratorBinding& Binding, |
If no such decorator exists, nullptr is returned. | |
| TraversalContextType & | Returns the current strongly typed traversal context or nullptr if not in a traversal. | ||
| void | ReleaseNodeInstance
(
FNodeInstance* Node |
Releases a node instance that is no longer referenced. |