Navigation
API > API/Plugins > API/Plugins/UAFAnimGraphUncookedOnly
A template defining the appearance and behavior of a node in an animation graph ~This class is not instanced, rather its functions are called on its default object
| Name | UUAFGraphNodeTemplate |
| Type | class |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraphUncookedOnly/Public/Templates/UAFGraphNodeTemplate.h |
| Include Path | #include "Templates/UAFGraphNodeTemplate.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable)
class UUAFGraphNodeTemplate : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UUAFGraphNodeTemplate
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UUAFGraphNodeTemplate() |
Templates/UAFGraphNodeTemplate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ConfigureNewNode
(
UAnimNextController* Controller, |
Called in editor when a node is first spawned. | Templates/UAFGraphNodeTemplate.h |
|
virtual bool ConfigureNewNode_Implementation
(
UAnimNextController* Controller, |
Templates/UAFGraphNodeTemplate.h |
|
|
URigVMUnitNode * CreateNewNode
(
UAnimNextController* Controller, |
Utility function used to create and configure a new node according to a template. | Templates/UAFGraphNodeTemplate.h | |
FText GetCategory() |
Get the category of this node. | Templates/UAFGraphNodeTemplate.h |
|
virtual FText GetCategory_Implementation() |
Templates/UAFGraphNodeTemplate.h |
|
|
FLinearColor GetColor() |
Get the title color of this node. | Templates/UAFGraphNodeTemplate.h |
|
virtual FLinearColor GetColor_Implementation() |
Templates/UAFGraphNodeTemplate.h |
|
|
FRigVMNodeLayout GetDefaultCategoryLayout() |
Get a layout that assigns all trait pins to the default category. | Templates/UAFGraphNodeTemplate.h |
|
TConstArrayView< TSubclassOf< UObject > > GetDragDropAssetTypes() |
Get all the types of asset this template handles for drag-drop. | Templates/UAFGraphNodeTemplate.h | |
FSlateBrush GetIcon() |
Get the icon of this node. | Templates/UAFGraphNodeTemplate.h |
|
FSlateBrush GetIcon_Implementation() |
Templates/UAFGraphNodeTemplate.h |
|
|
const FSlateBrush * GetIconBrush() |
Get the icon of this node. | Templates/UAFGraphNodeTemplate.h | |
FText GetMenuDescription() |
Get the menu description of this node. | Templates/UAFGraphNodeTemplate.h |
|
virtual FText GetMenuDescription_Implementation() |
Templates/UAFGraphNodeTemplate.h |
|
|
FRigVMNodeLayout GetNodeLayout() |
Get the node layout. | Templates/UAFGraphNodeTemplate.h |
|
virtual FRigVMNodeLayout GetNodeLayout_Implementation() |
Templates/UAFGraphNodeTemplate.h |
|
|
FRigVMNodeLayout GetPerTraitCategoriesLayout() |
Get a layout that assigns all trait pins categories of their traits. | Templates/UAFGraphNodeTemplate.h |
|
FText GetSubTitle() |
Get the subtitle of this node. | Templates/UAFGraphNodeTemplate.h |
|
virtual FText GetSubTitle_Implementation() |
Templates/UAFGraphNodeTemplate.h |
|
|
FText GetTitle() |
Get the title of this node. | Templates/UAFGraphNodeTemplate.h |
|
virtual FText GetTitle_Implementation() |
Templates/UAFGraphNodeTemplate.h |
|
|
FText GetTooltipText() |
Get the tooltip text of this node. | Templates/UAFGraphNodeTemplate.h |
|
virtual FText GetTooltipText_Implementation() |
Templates/UAFGraphNodeTemplate.h |
|
|
void HandleAssetDropped
(
UAnimNextController* Controller, |
Called in editor when an asset is drag/dropped. Called after ConfigureNewNode. | Templates/UAFGraphNodeTemplate.h |
|
virtual void HandleAssetDropped_Implementation
(
UAnimNextController* Controller, |
Templates/UAFGraphNodeTemplate.h |
|
|
void HandlePinDefaultValueChanged
(
UAnimNextController* Controller, |
Called in editor when a pin default value is changed, e.g. to be used to reconfigure the nodes appearance. | Templates/UAFGraphNodeTemplate.h |
|
virtual void HandlePinDefaultValueChanged_Implementation
(
UAnimNextController* Controller, |
Templates/UAFGraphNodeTemplate.h |
|
|
void InitializeTemplateFromNode
(
const UAnimNextTraitStackUnitNode* InNode |
Utility function used to initialize this template from an existing trait stack node. | Templates/UAFGraphNodeTemplate.h | |
void RefreshNodeFromTemplate
(
UAnimNextController* InController, |
Utility function used to refresh an existing node from this templates. | Templates/UAFGraphNodeTemplate.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddDefaultTraitPinsToLayout
(
const UScriptStruct* Struct, |
Utility function used to add all of a trait's pins to a category, named according to their display name. | Templates/UAFGraphNodeTemplate.h | |
| Sets the category of the supplied pins in a node layout. | Templates/UAFGraphNodeTemplate.h |
|
|
| Sets the display name for a supplied pin in a node layout. | Templates/UAFGraphNodeTemplate.h |
|