Navigation
API > API/Plugins > API/Plugins/AnimNextAnimGraph
This interface translates an object and payload struct into a UAnimNextAnimationGraph and payload instance(s), ready for instantiation
| Name | IGraphFactory |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNextAnimGraph/Source/AnimNextAnimGraph/Public/TraitInterfaces/IGraphFactory.h |
| Include Path | #include "TraitInterfaces/IGraphFactory.h" |
Syntax
struct IGraphFactory : public UE::AnimNext::ITraitInterface
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InterfaceUID | UE::AnimNext::FTraitInterfaceUID | Globally unique UID for this interface | TraitInterfaces/IGraphFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreatePayloadForObject
(
FExecutionContext& Context, |
Creates data interface payload to bind when creating a graph for an object | TraitInterfaces/IGraphFactory.h | |
virtual const UAnimNextAnimationGraph * GetGraphFromObject
(
FExecutionContext& Context, |
Gets a graph and a set of native interfaces from an object | TraitInterfaces/IGraphFactory.h |
Overridden from ITraitInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText & GetDisplayName() |
Human readable interface names, in long and short format. | TraitInterfaces/IGraphFactory.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/IGraphFactory.h | |
virtual UE::AnimNext::FTraitInterfaceUID GetInterfaceUID() |
TraitInterfaces/IGraphFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const UAnimNextAnimationGraph * GetGraphFromObjectWithFallback
(
FExecutionContext& Context, |
Gets a graph and a set of native interfaces from an object Falls back to using user settings if no interface is found in the current stack, or if an interface was found but returns nullptr | TraitInterfaces/IGraphFactory.h |