![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AnimNode_PoseDriver.h>
Inheritance diagram for FAnimNode_PoseDriver:Public Attributes | |
| FPoseLink | SourcePose |
| TArray< FBoneReference > | SourceBones |
| FBoneReference | EvalSpaceBone |
| bool | bEvalFromRefPose = false |
| TArray< FBoneReference > | OnlyDriveBones |
| TArray< FPoseDriverTarget > | PoseTargets |
| FRBFParams | RBFParams |
| EPoseDriverSource | DriveSource |
| EPoseDriverOutput | DriveOutput |
| TArray< FRBFOutputWeight > | OutputWeights |
| TArray< FTransform > | SourceBoneTMs |
| bool | bHasOnlyDriveBones = false |
| TArray< FCompactPoseBoneIndex > | BonesToFilter |
| uint8 | bCachedDrivenIDsAreDirty: 1 |
| int32 | LODThreshold |
Public Attributes inherited from FAnimNode_PoseHandler | |
| TObjectPtr< UPoseAsset > | PoseAsset |
RBF based orientation driver
| FAnimNode_PoseDriver::FAnimNode_PoseDriver | ( | ) |
|
overridevirtual |
Called to cache any bones that this node needs to track (e.g. in a FBoneReference). This is usually called at startup when LOD switches occur. This can be called on any thread.
| Context | Context structure providing access to relevant data |
Reimplemented from FAnimNode_PoseHandler.
|
overridevirtual |
Called to evaluate local-space bones transforms according to the weights set up in Update(). You should implement either Evaluate or EvaluateComponentSpace, but not both of these. This can be called on any thread.
| Output | Output structure to write pose or curve data to. Also provides access to relevant data as a context. |
Reimplemented from FAnimNode_Base.
|
overridevirtual |
Called to gather on-screen debug data. This is called on the game thread.
| DebugData | Debug data structure used to output any relevant data |
Reimplemented from FAnimNode_PoseHandler.
Get the LOD level at which this node is enabled. Node is enabled if the current LOD is less than or equal to this threshold.
Reimplemented from FAnimNode_Base.
| float FAnimNode_PoseDriver::GetRadiusForTarget | ( | const FRBFTarget & | Target | ) | const |
Returns the radius for a given target
| void FAnimNode_PoseDriver::GetRBFTargets | ( | TArray< FRBFTarget > & | OutTargets, |
| const FBoneContainer * | BoneContainer | ||
| ) | const |
Return array of FRBFTarget structs, derived from PoseTargets array and DriveSource setting
|
overridevirtual |
Initialize function for setup purposes
Reimplemented from FAnimNode_PoseHandler.
Util for seeing if BoneName is in the list of driven bones (and bFilterDrivenBones is true)
|
overridevirtual |
Reimplemented from FAnimNode_PoseHandler.
|
overridevirtual |
Update method for the asset player, to be implemented by derived classes
Reimplemented from FAnimNode_PoseHandler.
| uint8 FAnimNode_PoseDriver::bCachedDrivenIDsAreDirty |
If true, will recalculate DrivenUID values in PoseTargets array on next eval
Evaluate SourceBone transform relative from its Reference Pose. This is recommended when using Swing and Twist Angle as Distance Method, since the twist will be computed from RefPose.
If not specified, the local space of SourceBone will be used. (ie relative to parent bone) This mode won't work in conjunction with EvalSpaceBone;
Checks if there are valid bones in OnlyDriveBones, since some entries can be None
| TArray<FCompactPoseBoneIndex> FAnimNode_PoseDriver::BonesToFilter |
This array lists bones that we should filter out (ie have a track in the PoseAsset, but are not listed in OnlyDriveBones)
| EPoseDriverOutput FAnimNode_PoseDriver::DriveOutput |
Whether we should drive poses or curves
| EPoseDriverSource FAnimNode_PoseDriver::DriveSource |
Which part of the transform is read
| FBoneReference FAnimNode_PoseDriver::EvalSpaceBone |
Optional other bone space to use when reading SourceBone transform. If not specified, the local space of SourceBone will be used. (ie relative to parent bone)
| int32 FAnimNode_PoseDriver::LODThreshold |
| TArray<FBoneReference> FAnimNode_PoseDriver::OnlyDriveBones |
List of bones that will modified by this node. If no list is provided, all bones bones with a track in the PoseAsset will be modified
| TArray<FRBFOutputWeight> FAnimNode_PoseDriver::OutputWeights |
Last set of output weights from RBF solve
| TArray<FPoseDriverTarget> FAnimNode_PoseDriver::PoseTargets |
Targets used to compare with current pose and drive morphs/poses
| FRBFParams FAnimNode_PoseDriver::RBFParams |
Parameters used by RBF solver
| TArray<FBoneReference> FAnimNode_PoseDriver::SourceBones |
Bone to use for driving parameters based on its orientation
| TArray<FTransform> FAnimNode_PoseDriver::SourceBoneTMs |
Input source bone TM, used for debug drawing
| FPoseLink FAnimNode_PoseDriver::SourcePose |
Bones to use for driving parameters based on their transform