Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph
Entry Point Handle An entry point handle is equivalent to a trait handle but it will not resolve automatically on load. As such, it is safe to use outside of an AnimNext graph. They must be manually resolved through FTraitReader.
Internally, it contains a node handle (as a node ID) and a trait index.
| Name | FAnimNextEntryPointHandle |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitCore/EntryPointHandle.h |
| Include Path | #include "TraitCore/EntryPointHandle.h" |
Syntax
USTRUCT (BlueprintType )
struct FAnimNextEntryPointHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr FAnimNextEntryPointHandle () |
Creates an invalid entry point handle. | TraitCore/EntryPointHandle.h | |
FAnimNextEntryPointHandle
(
UE::AnimNext::FNodeHandle NodeHandle |
Creates an entry point handle pointing to the first trait of the specified node. | TraitCore/EntryPointHandle.h | |
FAnimNextEntryPointHandle
(
UE::AnimNext::FNodeHandle NodeHandle, |
Creates an entry point handle pointing to the specified trait on the specified node. | TraitCore/EntryPointHandle.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NODE_HANDLE_MASK | uint32 | TraitCore/EntryPointHandle.h | |
| TRAIT_INDEX_SHIFT | uint32 | Bottom 24 bits are used by the node handle while the top 8 bits by the trait index. | TraitCore/EntryPointHandle.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PackedTraitIndexAndNodeHandle | uint32 | TraitCore/EntryPointHandle.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UE::AnimNext::FNodeHandle GetNodeHandle() |
Returns a handle to the node referenced (its node ID) | TraitCore/EntryPointHandle.h | |
uint32 GetTraitIndex() |
Returns the trait index. | TraitCore/EntryPointHandle.h | |
bool IsValid() |
Returns true if this entry point handle is valid, false otherwise. | TraitCore/EntryPointHandle.h |
See Also
-
FTraitReader