UAnimGraphNode_PoseDriver

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AnimGraph

Header

/Engine/Source/Editor/AnimGraph/Public/AnimGraphNode_PoseDriver.h

Include

#include "AnimGraphNode_PoseDriver.h"

Syntax

class UAnimGraphNode_PoseDriver : public UAnimGraphNode_PoseHandler

Variables

Name Description

Public variable

float

 

AxisLength

Length of axis in world units used for debug drawing

Public variable

bool

 

bDrawDebugCones

If checked the cones will be drawn in 3d for debugging

Protected variable

FNodeTitleTextT...

 

CachedNodeTitles

Constructing FText strings can be costly, so we cache the node's title

Public variable

int32

 

ConeSubdivision

Number of subdivisions / lines used when debug drawing a cone

Public variable

TObjectPtr< USk...

 

LastPreviewComponent

Used to refer back to preview instance in anim tools

Public variable

FAnimNode_PoseD...

 

Node

Public variable

FSimpleMulticas...

 

SelectedTargetChangeDelegate

Delegate to call when selection changes

Public variable

int32

 

SelectedTargetIndex

Used to indicate selected target to edit mode drawing

Constructors

Name Description

Public function

UAnimGraphNode_PoseDriver

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddNewTarget()

Adds a new target, reallocating transforms array appropriately

Public function

void

 

AutoSetTargetScales

(
    float& OutMaxDistance
)

Automatically modify TargetScale for each PoseTarget, based on distance to nearest neighbor

Public function

void

 

CopyTargetsFromPoseAsset()

Util to replace current contents of PoseTargets with info from assigned PoseAsset

Public function

FLinearColor

 

GetColorFromWeight

(
    float InWeight
)

Return the color for a given weight. Used for Details and EditMode

Public function

void

 

GetDrivingBoneNames

(
    TArray< FName >& BoneNames
)

Returns the pose-driver its driven bones by name

Public function

bool

 

GetOnlyDriveSelectedBones()

Public function

EPoseDriverO...

 

GetPoseDriverOutput()

Public function

EPoseDriverS...

 

GetPoseDriverSource()

Public function Const

FAnimNode_Po...

 

GetPreviewPoseDriverNode()

Get the current preview node instance

Public function

FRBFParams &

 

GetRBFParameters()

Public function

void

 

GetSourceBoneNames

(
    TArray< FName >& BoneNames
)

Returns the pose-driver its source bones by name

Public function

void

 

ReserveTargetTransforms()

Reallocates transforms arrays as necessary to accommodate source bones

Public function

void

 

SetDrivingBones

(
    const TArray< FName >& BoneNames
)

Set the pose-driver its driven bones by name

Public function

void

 

SetOnlyDriveSelectedBones

(
    bool bOnlyDriveSelectedBones
)

Public function

void

 

SetPoseDriverOutput

(
    EPoseDriverOutput DriverOutput
)

Public function

void

 

SetPoseDriverSource

(
    EPoseDriverSource DriverSource
)

Public function

void

 

SetRBFParameters

(
    FRBFParams Parameters
)

Public function

void

 

SetSourceBones

(
    const TArray< FName >& BoneNames
)

Sets the pose-driver its source bones by name

Overridden from UAnimGraphNode_PoseHandler

Overridden from UAnimGraphNode_Base

Name Description

Public function Virtual

void

 

CopyNodeDataToPreviewNode

(
    FAnimNode_Base* InPreviewNode
)

Called to propagate data from the internal node to the preview in Persona.

Public function Virtual Const

FEditorModeI...

 

GetEditorMode()

Override this function to push an editor mode when this node is selected

Public function Virtual Const

EAnimAssetHa...

 

SupportsAssetClass

(
    const UClass* AssetClass
)

Returns whether this node supports the supplied asset class

Public function Virtual

void

 

ValidateAnimNodeDuringCompilation

(
    USkeleton* ForSkeleton,
    FCompilerResultsLog& MessageLog
)

Gives each visual node a chance to do final validation before it's node is harvested for use at runtime.

Overridden from UK2Node

Name Description

Public function Virtual Const

FText

 

GetMenuCategory()

Override to provide a default category for specific node types to be listed under.

Overridden from UEdGraphNode

Name Description

Public function Virtual Const

FLinearColor

 

GetNodeBodyTintColor()

Gets the draw color of a node's body tine

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

UObject interface