UAnimGraphNode_PoseDriver

Unreal Engine C++ API Reference > Editor > AnimGraph

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](API\Editor\AnimGraph\UAnimGraphNode_PoseHandler)  

Variables

Type Name Description
float AxisLength Length of axis in world units used for debug drawing
bool bDrawDebugCones If checked the cones will be drawn in 3d for debugging
FNodeTitleTextT... CachedNodeTitles Constructing FText strings can be costly, so we cache the node's title
int32 ConeSubdivision Number of subdivisions / lines used when debug drawing a cone
TObjectPtr< USk... LastPreviewComponent Used to refer back to preview instance in anim tools
FAnimNode_PoseD... Node  
FSimpleMulticas... SelectedTargetChangeDelegate Delegate to call when selection changes
int32 SelectedTargetIndex Used to indicate selected target to edit mode drawing

Constructors

Type Name Description
  UAnimGraphNode_PoseDriver ( const FObjectInitializer& ObjectIn... )  

Functions

Type Name Description
void AddNewTarget () Adds a new target, reallocating transforms array appropriately
void AutoSetTargetScales ( float& OutMaxDistance ) Automatically modify TargetScale for each PoseTarget, based on distance to nearest neighbor
void CopyTargetsFromPoseAsset () Util to replace current contents of PoseTargets with info from assigned PoseAsset
FLinearColor GetColorFromWeight ( float InWeight ) Return the color for a given weight. Used for Details and EditMode
void GetDrivingBoneNames ( TArray< FName >& BoneNames ) Returns the pose-driver its driven bones by name
EPoseDriverO... GetPoseDriverOutput ()  
EPoseDriverS... GetPoseDriverSource ()  
FAnimNode_Po... GetPreviewPoseDriverNode () Get the current preview node instance
FRBFParams & GetRBFParameters ()  
void GetSourceBoneNames ( TArray< FName >& BoneNames ) Returns the pose-driver its source bones by name
void ReserveTargetTransforms () Reallocates transforms arrays as necessary to accommodate source bones
void SetDrivingBones ( const TArray< FName >& BoneNames ) Set the pose-driver its driven bones by name
void SetPoseDriverOutput ( EPoseDriverOutput DriverOutput )  
void SetPoseDriverSource ( EPoseDriverSource DriverSource )  
void SetRBFParameters ( FRBFParams Parameters )  
void SetSourceBones ( const TArray< FName >& BoneNames ) Sets the pose-driver its source bones by name

Overridden from UAnimGraphNode_PoseHandler

Type Name Description
FAnimNode_Po... GetPoseHandlerNode ()  
const FAnimN... GetPoseHandlerNode ()  
bool IsPoseAssetRequired ()  

Overridden from UAnimGraphNode_Base

Type Name Description
void CopyNodeDataToPreviewNode ( FAnimNode_Base* InPreviewNode ) Called to propagate data from the internal node to the preview in Persona.
FEditorModeI... GetEditorMode () Override this function to push an editor mode when this node is selected
EAnimAssetHa... SupportsAssetClass ( const UClass* AssetClass ) Returns whether this node supports the supplied asset class
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

Type Name Description
FText GetMenuCategory () Override to provide a default category for specific node types to be listed under.

Overridden from UEdGraphNode

Type Name Description
FLinearColor GetNodeBodyTintColor () Gets the draw color of a node's body tine
FText GetNodeTitle ( ENodeTitleType::Type TitleType ) Gets the name of this node, shown in title bar
FText GetTooltipText () Gets the tooltip to display when over the node

Overridden from UObject

Type Name Description
void PostLoad () Do any object-specific cleanup required immediately after loading an object.
void Serialize ( FArchive& Ar ) UObject interface

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library