Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/TraitCore
Inheritance Hierarchy
- FAnimNextTraitSharedData
- FAnimNextRigLogicTraitSharedData
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/TraitCore/TraitSharedData.h |
| Include | #include "TraitCore/TraitSharedData.h" |
Syntax
USTRUCT ()
struct FAnimNextTraitSharedData
Remarks
FAnimNextTraitSharedData Trait shared data represents a unique instance in the authored static graph. Each instance of a graph will share instances of the read-only shared data. Shared data typically contains hardcoded properties, RigVM latent pin information, or pooled properties shared between multiple traits.
A FAnimNextTraitSharedData is the base type that trait shared data derives from.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ConstructLatentProperties
(
const UE::AnimNext::FTraitBinding& Binding |
Constructs the latent properties on the bound trait instance | |
| void | DestructLatentProperties
(
const UE::AnimNext::FTraitBinding& Binding |
Destructs the latent properties on the bound trait instance | |
| int32 | GetLatentPropertyIndex
(
const size_t LatentPropertyOffset |
Returns the latent property index from a latent property offset If the property is found within this type, its latent property 1-based index is returned (a positive value) If the property isn't found, this function returns the number of latent properties (as a zero or negative value) Derived types will have latent property indices higher than their base type |
See Also
FNodeDescription