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

Animation data node for state machine transitions. 更多...

#include <AnimNode_TransitionPoseEvaluator.h>

+ 类 FAnimNode_TransitionPoseEvaluator 继承关系图:

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. 更多...
 
virtual void Initialize_AnyThread (const FAnimationInitializeContext &Context) override
 Called when the node first runs. 更多...
 
virtual void Update_AnyThread (const FAnimationUpdateContext &Context) override
 Called to update the state of the graph relative to this node. 更多...
 
- Public 成员函数 继承自 FAnimNode_Base
virtual void CacheBones_AnyThread (const FAnimationCacheBonesContext &Context)
 Called to cache any bones that this node needs to track (e.g. 更多...
 
virtual bool CanUpdateInWorkerThread () const
 Whether this node can run its Update() call on a worker thread. 更多...
 
virtual void Evaluate_AnyThread (FPoseContext &Output)
 Called to evaluate local-space bones transforms according to the weights set up in Update(). 更多...
 
virtual void EvaluateComponentSpace_AnyThread (FComponentSpacePoseContext &Output)
 Called to evaluate component-space bone transforms according to the weights set up in Update(). 更多...
 
virtual void GatherDebugData (FNodeDebugData &DebugData)
 Called to gather on-screen debug data. 更多...
 
virtual bool HasPreUpdate () const
 Override this to indicate that PreUpdate() should be called on the game thread (usually to gather non-thread safe data) before Update() is called. 更多...
 
virtual void Initialize (const FAnimationInitializeContext &Context)
 Deprecated functions
 
virtual void Initialize_AnyThread (const FAnimationInitializeContext &Context)
 Called when the node first runs. 更多...
 
virtual bool NeedsDynamicReset () const
 For nodes that implement some kind of simulation, return true here so ResetDynamics() gets called when things like teleports, time skips etc. 更多...
 
virtual bool NeedsOnInitializeAnimInstance () const
 For nodes that need some kind of initialization that is not dependent on node relevancy (i.e. 更多...
 
virtual void OnUpdatesSkipped (TArrayView< const FAnimationUpdateContext * > SkippedUpdateContexts)
 Called on a tracked ancestor node when there are Update() calls that were skipped due to pose caching. 更多...
 
virtual void OverrideAsset (class UAnimationAsset *NewAsset)
 If a derived anim node should respond to asset overrides, OverrideAsset should be defined to handle changing the asset This is called during anim blueprint compilation to handle child anim blueprints. 更多...
 
virtual void PostCompile (const class USkeleton *InSkeleton)
 Called after compilation
 
virtual void PreUpdate (const UAnimInstance *InAnimInstance)
 Override this to perform game-thread work prior to non-game thread Update() being called
 
virtual void ResetDynamics (ETeleportType InTeleportType)
 Called to help dynamics-based updates to recover correctly from large movements/teleports
 
virtual void Update_AnyThread (const FAnimationUpdateContext &Context)
 Called to update the state of the graph relative to this node. 更多...
 
virtual bool WantsSkippedUpdates () const
 Override this if your node uses ancestor tracking and wants to be informed of Update() calls that were skipped due to pose caching.
 

额外继承的成员函数

- Protected 成员函数 继承自 FAnimNode_Base
bool IsLODEnabled (FAnimInstanceProxy *AnimInstanceProxy)
 return true if enabled, otherwise, return false. 更多...
 
virtual void OnInitializeAnimInstance (const FAnimInstanceProxy *InProxy, const UAnimInstance *InAnimInstance)
 Called once, from game thread as the parent anim instance is created
 
virtual void RootInitialize (const FAnimInstanceProxy *InProxy)
 Deprecated function
 

详细描述

Animation data node for state machine transitions.

Can be set to supply either the animation data from the transition source (From State) or the transition destination (To State).

成员函数说明

◆ CacheBones_AnyThread()

virtual void FAnimNode_TransitionPoseEvaluator::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_TransitionPoseEvaluator::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_TransitionPoseEvaluator::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_TransitionPoseEvaluator::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 .

◆ Update_AnyThread()

virtual void FAnimNode_TransitionPoseEvaluator::Update_AnyThread ( const FAnimationUpdateContext &  Context)
overridevirtual

Called to update the state of the graph relative to this node.

Generally this should configure any weights (etc.) that could affect the poses that will need to be evaluated. This function is what usually executes EvaluateGraphExposedInputs. This can be called on any thread.

参数
ContextContext structure providing access to relevant data

重载 FAnimNode_Base .


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