Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
This interface exposes hierarchy traversal information to navigate the graph.
| Name | IHierarchy |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/TraitInterfaces/IHierarchy.h |
| Include Path | #include "TraitInterfaces/IHierarchy.h" |
Syntax
struct IHierarchy : public UE::UAF::ITraitInterface
Derived Classes
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InterfaceUID | UE::UAF::FTraitInterfaceUID | Globally unique UID for this interface | TraitInterfaces/IHierarchy.h |
Functions
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetChildren
(
const FExecutionContext& Context, |
Appends weak handles to any children we wish to traverse on the trait implementation (not the whole stack). | TraitInterfaces/IHierarchy.h | |
virtual uint32 GetNumChildren
(
const FExecutionContext& Context, |
Returns the number of children of the trait implementation (not the whole stack) Includes inactive children | TraitInterfaces/IHierarchy.h | |
virtual FWeakTraitPtr GetStackForwardingChild
(
const FExecutionContext& Context, |
Returns the child trait to forward stack forwarding interface requests to Default implementation will return the first child of single child hierarchies, and not forward at all for multi child hierarchies | TraitInterfaces/IHierarchy.h |
Overridden from ITraitInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText & GetDisplayName() |
Human readable interface names, in long and short format. | TraitInterfaces/IHierarchy.h | |
virtual const FText & GetDisplayShortName() |
Human readable interface names, in short format (ideally 3 or 4 letters, due to space restrictions in the editor) | TraitInterfaces/IHierarchy.h | |
virtual UE::UAF::FTraitInterfaceUID GetInterfaceUID() |
TraitInterfaces/IHierarchy.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool GetForwardedStackInterface
(
const FExecutionContext& Context, |
The trait child found implementing the interface is returned. | TraitInterfaces/IHierarchy.h | |
static bool GetForwardedStackInterface
(
const FExecutionContext& Context, |
The first child found implementing the interface is returned. | TraitInterfaces/IHierarchy.h | |
static uint32 GetNumStackChildren
(
const FExecutionContext& Context, |
Queries the trait stack and calls GetNumChildren for each trait, accumulating the result. | TraitInterfaces/IHierarchy.h | |
static uint32 GetNumStackChildren
(
const FExecutionContext& Context, |
Queries the trait stack of the specified binding and calls GetNumChildren for each trait, accumulating the result. | TraitInterfaces/IHierarchy.h | |
static void GetStackChildren
(
const FExecutionContext& Context, |
Queries the trait stack and calls GetChildren for each trait, appending the result. | TraitInterfaces/IHierarchy.h | |
static void GetStackChildren
(
const FExecutionContext& Context, |
Queries the trait stack of the specified binding and calls GetChildren for each trait, appending the result. | TraitInterfaces/IHierarchy.h |