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.
|
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 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.
| Output | Output structure to write pose or curve data to. Also provides access to relevant data as a context. |
重载 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 .
|
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 .
| 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