This is the node that apply corrective morphtarget for twist Good example is that if you twist your neck too far right or left, you're going to see odd stretch shape of neck, This node can detect the angle and apply morphtarget curve This isn't the twist control node for bone twist 更多...
#include <AnimNode_TwistCorrectiveNode.h>
继承自 FAnimNode_SkeletalControlBase .
Public 成员函数 | |
| virtual void | CacheBones_AnyThread (const FAnimationCacheBonesContext &Context) override |
| Called to cache any bones that this node needs to track (e.g. 更多... | |
| 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 属性 | |
| FReferenceBoneFrame | BaseFrame |
| Base Frame of the reference for the twist node | |
| FAxis | TwistPlaneNormalAxis |
| Normal of the Plane that we'd like to calculate angle calculation from in BaseFrame. 更多... | |
This is the node that apply corrective morphtarget for twist Good example is that if you twist your neck too far right or left, you're going to see odd stretch shape of neck, This node can detect the angle and apply morphtarget curve This isn't the twist control node for bone twist
|
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.
| Context | Context structure providing access to relevant data |
重载 FAnimNode_Base .
|
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 .
| FAxis FAnimNode_TwistCorrectiveNode::TwistPlaneNormalAxis |
Normal of the Plane that we'd like to calculate angle calculation from in BaseFrame.
Please note we're looking for Normal Axis