Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
This interface allows traits to participate in graph building via FAnimGraphFactory
| Name | IGraphFactory |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/TraitInterfaces/IGraphFactory.h |
| Include Path | #include "TraitInterfaces/IGraphFactory.h" |
Syntax
struct IGraphFactory : public UE::UAF::ITraitInterface
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InterfaceUID | UE::UAF::FTraitInterfaceUID | Globally unique UID for this interface | TraitInterfaces/IGraphFactory.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetFactoryParams
(
FExecutionContext& Context, |
Called to modify/extend factory parameters for a generated graph. | 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::UAF::FTraitInterfaceUID GetInterfaceUID() |
TraitInterfaces/IGraphFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const UAnimNextAnimationGraph * GetOrBuildGraph
(
FExecutionContext& Context, |
If the supplied object is a UAnimNextAnimationGraph, returns it If not then uses the parameters (od the default parameters if they are not valid) combined with the current trait stack's collective calls to GetFactoryParams to build the graph procedurally | TraitInterfaces/IGraphFactory.h |