Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/TraitCore
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/TraitCore/TraitRegistryHandle.h |
| Include | #include "TraitCore/TraitRegistryHandle.h" |
Syntax
struct FTraitRegistryHandle
Remarks
Encapsulates a value used as a handle in the trait registry. When valid, it can be used to retrieve a pointer to the corresponding trait.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructed handles are invalid. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Returns the dynamic array index for this handle when valid, otherwise INDEX_NONE. | ||
| int32 | Returns the static buffer offset for this handle when valid, otherwise INDEX_NONE. | ||
| bool | IsDynamic () |
Returns whether or not this handle is valid and points to a dynamic trait. | |
| bool | IsStatic () |
Returns whether or not this handle is valid and points to a static trait. | |
| bool | IsValid () |
Returns whether or not this handle points to a valid trait. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
FTraitRegistryHandle RHS |
||
| bool | operator==
(
FTraitRegistryHandle RHS |
Compares for equality and inequality. |