Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph
Node Instance A node instance represents allocated data for specific node.
In order to access the trati instance data, the offsets need to be looked up in the node template.
| Name | FNodeInstance |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitCore/NodeInstance.h |
| Include Path | #include "TraitCore/NodeInstance.h" |
Syntax
struct FNodeInstance
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNodeInstance
(
const FNodeInstance& |
Cannot move or copy node instances. | TraitCore/NodeInstance.h | |
FNodeInstance
(
FAnimNextGraphInstance& InOwner, |
TraitCore/NodeInstance.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FNodeInstance() |
TraitCore/NodeInstance.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MAXIMUM_NODE_INSTANCE_DATA_SIZE | uint32 | Largest allowed size for a node instance and the instance data of its traits We use unsigned 16 bit offsets within the NodeTemplate/TraitTemplate | TraitCore/NodeInstance.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NodeHandle | FNodeHandle | TraitCore/NodeInstance.h | ||
| Owner | FAnimNextGraphInstance & | TraitCore/NodeInstance.h | ||
| ReferenceCount | uint32 | TraitCore/NodeInstance.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNodeHandle GetNodeHandle() |
Returns a handle to the shared data for this node. | TraitCore/NodeInstance.h | |
FAnimNextGraphInstance & GetOwner() |
Returns the graph instance that owns this node instance. | TraitCore/NodeInstance.h | |
uint32 GetReferenceCount() |
Returns the number of live references to this node instance, does not include weak handles. | TraitCore/NodeInstance.h | |
bool IsOwnedBy
(
const FAnimNextGraphInstance& GraphInstance |
Returns whether or not this node instance is owned by the specified graph instance. | TraitCore/NodeInstance.h | |
bool IsValid() |
Returns whether the node instance is valid or not. | TraitCore/NodeInstance.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNodeInstance & operator=
(
const FNodeInstance& |
TraitCore/NodeInstance.h |