engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FAnimNode_PoseDriver结构体 参考

RBF based orientation driver 更多...

#include <AnimNode_PoseDriver.h>

继承自 FAnimNode_PoseHandler .

Public 成员函数

virtual void CacheBones_AnyThread (const FAnimationCacheBonesContext &Context) override
 Called to cache any bones that this node needs to track (e.g. 更多...
 
virtual void Evaluate_AnyThread (FPoseContext &Output) override
 Called to evaluate local-space bones transforms according to the weights set up in Update(). 更多...
 
virtual void GatherDebugData (FNodeDebugData &DebugData) override
 Called to gather on-screen debug data. 更多...
 
float GetRadiusForTarget (const FRBFTarget &Target) const
 Returns the radius for a given target
 
void GetRBFTargets (TArray< FRBFTarget > &OutTargets) const
 Return array of FRBFTarget structs, derived from PoseTargets array and DriveSource setting
 
virtual void Initialize_AnyThread (const FAnimationInitializeContext &Context) override
 Called when the node first runs. 更多...
 
bool IsBoneDriven (FName BoneName) const
 Util for seeing if BoneName is in the list of driven bones (and bFilterDrivenBones is true)
 

Public 属性

uint8 bCachedDrivenIDsAreDirty: 1
 If true, will recalculate DrivenUID values in PoseTargets array on next eval
 
TArray< FCompactPoseBoneIndex > 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
 
uint8 bOnlyDriveSelectedBones: 1
 If we should filter bones to be driven using the DrivenBonesFilter array
 
EPoseDriverOutput DriveOutput
 Whether we should drive poses or curves
 
EPoseDriverSource DriveSource
 Which part of the transform is read
 
FBoneReference EvalSpaceBone
 Optional other bone space to use when reading SourceBone transform. 更多...
 
TArray< FBoneReference > OnlyDriveBones
 If bFilterDrivenBones is specified, only these bones will be modified by this node
 
TArray< FRBFOutputWeight > OutputWeights
 Last set of output weights from RBF solve
 
TArray< FPoseDriverTarget > PoseTargets
 Targets used to compare with current pose and drive morphs/poses
 
FRBFParams RBFParams
 Parameters used by RBF solver
 
TArray< FBoneReference > SourceBones
 Bone to use for driving parameters based on its orientation
 
TArray< FTransform > SourceBoneTMs
 Input source bone TM, used for debug drawing
 
FPoseLink SourcePose
 Bones to use for driving parameters based on their transform
 

详细描述

RBF based orientation driver

成员函数说明

◆ CacheBones_AnyThread()

virtual void FAnimNode_PoseDriver::CacheBones_AnyThread ( const FAnimationCacheBonesContext &  Context)
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.

参数
ContextContext structure providing access to relevant data

重载 FAnimNode_Base .

◆ Evaluate_AnyThread()

virtual void FAnimNode_PoseDriver::Evaluate_AnyThread ( FPoseContext &  Output)
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.

参数
OutputOutput structure to write pose or curve data to. Also provides access to relevant data as a context.

重载 FAnimNode_Base .

◆ GatherDebugData()

virtual void FAnimNode_PoseDriver::GatherDebugData ( FNodeDebugData &  DebugData)
overridevirtual

Called to gather on-screen debug data.

This is called on the game thread.

参数
DebugDataDebug data structure used to output any relevant data

重载 FAnimNode_Base .

◆ Initialize_AnyThread()

virtual void FAnimNode_PoseDriver::Initialize_AnyThread ( const FAnimationInitializeContext &  Context)
overridevirtual

Called when the node first runs.

If the node is inside a state machine or cached pose branch then this can be called multiple times. This can be called on any thread.

参数
ContextContext structure providing access to relevant data

重载 FAnimNode_Base .

类成员变量说明

◆ EvalSpaceBone

FBoneReference FAnimNode_PoseDriver::EvalSpaceBone

Optional other bone space to use when reading SourceBone transform.

If not specified, we just use local space of SourceBone (ie relative to parent bone)


该结构体的文档由以下文件生成: