Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/TraitInterfaces
Inheritance Hierarchy
- ITraitInterface
- IHierarchy
- FRigLogicTrait
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/TraitInterfaces/IHierarchy.h |
| Include | #include "TraitInterfaces/IHierarchy.h" |
Syntax
struct IHierarchy : public UE::AnimNext::ITraitInterface
Remarks
This interface exposes hierarchy traversal information to navigate the graph.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetChildren
(
const FExecutionContext& Context, |
Appends weak handles to any children we wish to traverse on the trait implementation (not the whole stack). | |
| uint32 | GetNumChildren
(
const FExecutionContext& Context, |
Returns the number of children of the trait implementation (not the whole stack) Includes inactive children | |
| uint32 | GetNumStackChildren
(
const FExecutionContext& Context, |
Queries the trait stack and calls GetNumChildren for each trait, accumulating the result. | |
| uint32 | GetNumStackChildren
(
const FExecutionContext& Context, |
Queries the trait stack of the specified binding and calls GetNumChildren for each trait, accumulating the result. | |
| void | GetStackChildren
(
const FExecutionContext& Context, |
Queries the trait stack and calls GetChildren for each trait, appending the result. | |
| void | GetStackChildren
(
const FExecutionContext& Context, |
Queries the trait stack of the specified binding and calls GetChildren for each trait, appending the result. |
Overridden from ITraitInterface
| Type | Name | Description | |
|---|---|---|---|
| const FText & | Human readable interface names, in long and short format. | ||
| const FText & | Human readable interface names, in short format (ideally 3 or 4 letters, due to space restrictions in the editor) | ||
| UE::AnimNext::FTraitInterfaceUID |
Constants
| Name | Description |
|---|---|
| InterfaceUID | Globally unique UID for this interface |