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
|
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 |
重载 FAnimNode_Base .
|
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.
| Context | Context structure providing access to relevant data |
重载 FAnimNode_Base .
| FBoneReference FAnimNode_LookAt::BoneToModify |
Name of bone to control.
This is the main bone chain to modify from.
| 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
| 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.