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

Simple controller that make a bone to look at the point or another bone 更多...

#include <AnimNode_LookAt.h>

继承自 FAnimNode_SkeletalControlBase .

Public 成员函数

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. 更多...
 

Public 属性

FBoneReference BoneToModify
 Name of bone to control. 更多...
 
bool bUseLookUpAxis
 Whether or not to use Look up axis
 
float LookAtClamp
 Look at Clamp value in degrees - if your look at axis is Z, only X, Y degree of clamp will be used
 
FVector LookAtLocation
 Target Offset. 更多...
 
FBoneSocketTarget LookAtTarget
 Target socket to look at. 更多...
 

详细描述

Simple controller that make a bone to look at the point or another bone

成员函数说明

◆ GatherDebugData()

virtual void FAnimNode_LookAt::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_LookAt::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 .

类成员变量说明

◆ BoneToModify

FBoneReference FAnimNode_LookAt::BoneToModify

Name of bone to control.

This is the main bone chain to modify from.

◆ LookAtLocation

FVector FAnimNode_LookAt::LookAtLocation

Target Offset.

It's in world space if LookAtBone is empty or it is based on LookAtBone or LookAtSocket in their local space

◆ LookAtTarget

FBoneSocketTarget FAnimNode_LookAt::LookAtTarget

Target socket to look at.

Used if LookAtBone is empty. - You can use LookAtLocation if you need offset from this point. That location will be used in their local space.


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