FAnimNode_PoseDriver

RBF based orientation driver

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/AnimNodes/AnimNode_PoseDriver.h

Include

#include "AnimNodes/AnimNode_PoseDriver.h"

Syntax

struct FAnimNode_PoseDriver : public FAnimNode_PoseHandler

Remarks

RBF based orientation driver

Variables

Name Description

Public variable

uint8: 1

 

bCachedDrivenIDsAreDirty

If true, will recalculate DrivenUID values in PoseTargets array on next eval

Public variable

TArray< FCompac...

 

BonesToFilter

If bFilterDrivenBones, this array lists bones that we should filter out (ie have a track in the PoseAsset, but are not listed in OnlyDriveBones

Public variable

uint8: 1

 

bOnlyDriveSelectedBones

If we should filter bones to be driven using the DrivenBonesFilter array

Public variable

EPoseDriverOutp...

 

DriveOutput

Whether we should drive poses or curves

Public variable

EPoseDriverSour...

 

DriveSource

Which part of the transform is read

Public variable

FBoneReference

 

EvalSpaceBone

Optional other bone space to use when reading SourceBone transform.

Public variable

TArray< FBoneRe...

 

OnlyDriveBones

If bFilterDrivenBones is specified, only these bones will be modified by this node

Public variable

TArray< FRBFOut...

 

OutputWeights

Last set of output weights from RBF solve

Public variable

TArray< FPoseDr...

 

PoseTargets

Targets used to compare with current pose and drive morphs/poses

Public variable

FRBFParams

 

RBFParams

Parameters used by RBF solver

Public variable

TArray< FBoneRe...

 

SourceBones

Bone to use for driving parameters based on its orientation

Public variable

TArray< FTransf...

 

SourceBoneTMs

Input source bone TM, used for debug drawing

Public variable

FPoseLink

 

SourcePose

Bones to use for driving parameters based on their transform

Constructors

Name Description

Public function

FAnimNode_PoseDriver()

Functions

Name Description

Public function Const

float

 

GetRadiusForTarget

(
    const FRBFTarget& Target
)

Returns the radius for a given target

Public function Const

void

 

GetRBFTargets

(
    TArray< FRBFTarget >& OutTargets
)

Return array of FRBFTarget structs, derived from PoseTargets array and DriveSource setting

Public function Const

bool

 

IsBoneDriven

(
    FName BoneName
)

Util for seeing if BoneName is in the list of driven bones (and bFilterDrivenBones is true)

Overridden from FAnimNode_PoseHandler

Name Description

Public function Virtual

void

 

RebuildPoseList

(
    const FBoneContainer& InBoneContai...,
    const UPoseAsset* InPoseAsset
)

Rebuild Pose List

Overridden from FAnimNode_AssetPlayerBase

Name Description

Public function Virtual

void

 

UpdateAssetPlayer

(
    const FAnimationUpdateContext& Con...
)

Update method for the asset player, to be implemented by derived classes

Overridden from FAnimNode_Base

Name Description

Public function Virtual

void

 

CacheBones_AnyThread

(
    const FAnimationCacheBonesContext&...
)

Called to cache any bones that this node needs to track (e.g. in a FBoneReference).

Public function Virtual

void

 

Evaluate_AnyThread

(
    FPoseContext& Output
)

Called to evaluate local-space bones transforms according to the weights set up in Update().

Public function Virtual

void

 

GatherDebugData

(
    FNodeDebugData& DebugData
)

Called to gather on-screen debug data. This is called on the game thread.

Public function Virtual

void

 

Initialize_AnyThread

(
    const FAnimationInitializeContext&...
)

Initialize function for setup purposes

Deprecated Variables

Name Description

Public variable

float

 

RadialScaling_DEPRECATED

Public variable

FBoneReference

 

SourceBone_DEPRECATED

Deprecated.

Public variable

TEnumAsByte< EB...

 

TwistAxis_DEPRECATED

Public variable

EPoseDriverType

 

Type_DEPRECATED

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss