Navigation
API > API/Editor > API/Editor/AnimGraph
| Name | UAnimGraphNode_PoseDriver |
| Type | class |
| Header File | /Engine/Source/Editor/AnimGraph/Public/AnimGraphNode_PoseDriver.h |
| Include Path | #include "AnimGraphNode_PoseDriver.h" |
Syntax
UCLASS (BlueprintType)
class UAnimGraphNode_PoseDriver : public UAnimGraphNode_PoseHandler
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UK2Node → UAnimGraphNode_Base → UAnimGraphNode_AssetPlayerBase → UAnimGraphNode_PoseHandler → UAnimGraphNode_PoseDriver
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAnimGraphNode_PoseDriver
(
const FObjectInitializer& ObjectInitializer |
AnimGraphNode_PoseDriver.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxisLength | float | Length of axis in world units used for debug drawing | AnimGraphNode_PoseDriver.h |
|
| bDrawDebugCones | bool | If checked the cones will be drawn in 3d for debugging | AnimGraphNode_PoseDriver.h |
|
| ConeSubdivision | int32 | Number of subdivisions / lines used when debug drawing a cone | AnimGraphNode_PoseDriver.h |
|
| LastPreviewComponent | TObjectPtr< USkeletalMeshComponent > | Used to refer back to preview instance in anim tools | AnimGraphNode_PoseDriver.h |
|
| Node | FAnimNode_PoseDriver | AnimGraphNode_PoseDriver.h |
|
|
| SelectedTargetChangeDelegate | FSimpleMulticastDelegate | Delegate to call when selection changes | AnimGraphNode_PoseDriver.h | |
| SelectedTargetIndex | int32 | Used to indicate selected target to edit mode drawing | AnimGraphNode_PoseDriver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddNewTarget() |
Adds a new target, reallocating transforms array appropriately | AnimGraphNode_PoseDriver.h | |
void AutoSetTargetScales
(
float& OutMaxDistance |
Automatically modify TargetScale for each PoseTarget, based on distance to nearest neighbor | AnimGraphNode_PoseDriver.h | |
void CopyTargetsFromPoseAsset() |
Util to replace current contents of PoseTargets with info from assigned PoseAsset | AnimGraphNode_PoseDriver.h |
|
FLinearColor GetColorFromWeight
(
float InWeight |
Return the color for a given weight. Used for Details and EditMode | AnimGraphNode_PoseDriver.h | |
| Returns the pose-driver its driven bones by name | AnimGraphNode_PoseDriver.h |
|
|
EPoseDriverOutput & GetPoseDriverOutput() |
AnimGraphNode_PoseDriver.h |
|
|
EPoseDriverSource & GetPoseDriverSource() |
AnimGraphNode_PoseDriver.h |
|
|
FAnimNode_PoseDriver * GetPreviewPoseDriverNode() |
Get the current preview node instance | AnimGraphNode_PoseDriver.h | |
FRBFParams & GetRBFParameters() |
AnimGraphNode_PoseDriver.h |
|
|
| Returns the pose-driver its source bones by name | AnimGraphNode_PoseDriver.h |
|
|
void ReserveTargetTransforms() |
Reallocates transforms arrays as necessary to accommodate source bones | AnimGraphNode_PoseDriver.h | |
| Set the pose-driver its driven bones by name | AnimGraphNode_PoseDriver.h |
|
|
void SetPoseDriverOutput
(
EPoseDriverOutput DriverOutput |
AnimGraphNode_PoseDriver.h |
|
|
void SetPoseDriverSource
(
EPoseDriverSource DriverSource |
AnimGraphNode_PoseDriver.h |
|
|
void SetRBFParameters
(
FRBFParams Parameters |
AnimGraphNode_PoseDriver.h |
|
|
| Sets the pose-driver its source bones by name | AnimGraphNode_PoseDriver.h |
|
Overridden from UAnimGraphNode_Base
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CopyNodeDataToPreviewNode
(
FAnimNode_Base* InPreviewNode |
Called to propagate data from the internal node to the preview in Persona. | AnimGraphNode_PoseDriver.h | |
virtual FEditorModeID GetEditorMode() |
Override this function to push an editor mode when this node is selected | AnimGraphNode_PoseDriver.h | |
virtual EAnimAssetHandlerType SupportsAssetClass
(
const UClass* AssetClass |
Returns whether this node supports the supplied asset class | AnimGraphNode_PoseDriver.h | |
virtual void ValidateAnimNodeDuringCompilation
(
USkeleton* ForSkeleton, |
Gives each visual node a chance to do final validation before it's node is harvested for use at runtime. | AnimGraphNode_PoseDriver.h |
Overridden from UK2Node
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetMenuCategory() |
AnimGraphNode_PoseDriver.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FLinearColor GetNodeBodyTintColor() |
AnimGraphNode_PoseDriver.h | ||
virtual FText GetNodeTitle
(
ENodeTitleType::Type TitleType |
AnimGraphNode_PoseDriver.h | ||
virtual FText GetTooltipText() |
AnimGraphNode_PoseDriver.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
AnimGraphNode_PoseDriver.h | ||
virtual void Serialize
(
FArchive& Ar |
UObject interface | AnimGraphNode_PoseDriver.h |
Protected
Overridden from UAnimGraphNode_PoseHandler
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FAnimNode_PoseHandler * GetPoseHandlerNode () |
AnimGraphNode_PoseDriver.h | ||
virtual const FAnimNode_PoseHandler * GetPoseHandlerNode () |
AnimGraphNode_PoseDriver.h | ||
virtual bool IsPoseAssetRequired() |
AnimGraphNode_PoseDriver.h |