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

This node uses a source transform of a socket on the skeletal mesh to automatically calculate Yaw and Pitch directions for a referenced aim offset given a point in the world to look at. 更多...

#include <AnimNode_AimOffsetLookAt.h>

继承自 FAnimNode_BlendSpacePlayer .

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 bool NeedsOnInitializeAnimInstance () const override
 For nodes that need some kind of initialization that is not dependent on node relevancy (i.e. 更多...
 
virtual void OnInitializeAnimInstance (const FAnimInstanceProxy *InProxy, const UAnimInstance *InAnimInstance) override
 Called once, from game thread as the parent anim instance is created
 

Public 属性

float Alpha
 Amount of this node to blend into the output pose
 
bool bIsLODEnabled
 Cached flag to indicate whether LOD threshold is enabled
 
FVector LookAtLocation
 Location, in world space to look at
 
FBoneReference PivotSocketBoneReference
 Cached reference to the pivot socket's bone
 
FTransform PivotSocketLocalTransform
 Cached local transform of the pivot socket

 
FName PivotSocketName
 Socket to treat as the look at pivot (optional). 更多...
 
FVector SocketAxis
 Axis in the socket transform to consider the 'forward' or look at axis
 
FBoneReference SocketBoneReference
 Cached reference to the source socket's bone
 
FTransform SocketLocalTransform
 Cached local transform of the source socket
 
FName SourceSocketName
 Socket to treat as the look at source
 

详细描述

This node uses a source transform of a socket on the skeletal mesh to automatically calculate Yaw and Pitch directions for a referenced aim offset given a point in the world to look at.

成员函数说明

◆ CacheBones_AnyThread()

virtual void FAnimNode_AimOffsetLookAt::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_AimOffsetLookAt::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_AimOffsetLookAt::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_AimOffsetLookAt::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 .

◆ NeedsOnInitializeAnimInstance()

virtual bool FAnimNode_AimOffsetLookAt::NeedsOnInitializeAnimInstance ( ) const
inlineoverridevirtual

For nodes that need some kind of initialization that is not dependent on node relevancy (i.e.

it is insufficent or inefficent to use Initialize_AnyThread), return true here. Note that this is called at load on the UAnimInstance CDO to avoid needing to call this at runtime.

重载 FAnimNode_Base .

类成员变量说明

◆ PivotSocketName

FName FAnimNode_AimOffsetLookAt::PivotSocketName

Socket to treat as the look at pivot (optional).

This will overwrite the translation of the source socket transform to better match the lookat direction


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