Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
Encapsulates a value used as a handle in the node template registry. When valid, it can be used to retrieve a pointer to the corresponding node template.
| Name | FNodeTemplateRegistryHandle |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/TraitCore/NodeTemplateRegistryHandle.h |
| Include Path | #include "TraitCore/NodeTemplateRegistryHandle.h" |
Syntax
struct FNodeTemplateRegistryHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructed handles are invalid. | TraitCore/NodeTemplateRegistryHandle.h | ||
FNodeTemplateRegistryHandle
(
int16 TemplateOffset_ |
TraitCore/NodeTemplateRegistryHandle.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| TemplateOffset | int16 | When 0, the handle is invalid Otherwise it is a 1-based offset in the registry's static buffer | TraitCore/NodeTemplateRegistryHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetTemplateOffset() |
Returns the template offset for this handle when valid, otherwise INDEX_NONE. | TraitCore/NodeTemplateRegistryHandle.h | |
bool IsValid() |
Returns whether or not this handle points to a valid node template. | TraitCore/NodeTemplateRegistryHandle.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FNodeTemplateRegistryHandle MakeHandle
(
int32 TemplateOffset_ |
Creates a handle based on a note template offset in the static buffer. | TraitCore/NodeTemplateRegistryHandle.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
FNodeTemplateRegistryHandle RHS |
TraitCore/NodeTemplateRegistryHandle.h | ||
bool operator==
(
FNodeTemplateRegistryHandle RHS |
Compares for equality and inequality. | TraitCore/NodeTemplateRegistryHandle.h |