Custom property node that you'd like to expand pin by reflecting internal instance (we call TargetInstance here) 更多...
#include <AnimNode_CustomProperty.h>
类 FAnimNode_CustomProperty 继承关系图:Protected 成员函数 | |
| virtual UClass * | GetTargetClass () const |
| Get Target Class | |
| virtual bool | HasPreUpdate () const override |
| Override this to indicate that PreUpdate() should be called on the game thread (usually to gather non-thread safe data) before Update() is called. 更多... | |
| virtual void | PreUpdate (const UAnimInstance *InAnimInstance) override |
| Override this to perform game-thread work prior to non-game thread Update() being called | |
Protected 成员函数 继承自 FAnimNode_Base | |
| bool | IsLODEnabled (FAnimInstanceProxy *AnimInstanceProxy) |
| return true if enabled, otherwise, return false. 更多... | |
| virtual void | OnInitializeAnimInstance (const FAnimInstanceProxy *InProxy, const UAnimInstance *InAnimInstance) |
| Called once, from game thread as the parent anim instance is created | |
| virtual void | RootInitialize (const FAnimInstanceProxy *InProxy) |
| Deprecated function | |
Protected 属性 | |
| TArray< FProperty * > | DestProperties |
| List of properties on the TargetInstance to push to, built from name list when initialised | |
| TArray< FName > | DestPropertyNames |
| List of destination properties to use, 1-1 with Source names above, built by the compiler | |
| TArray< FProperty * > | SourceProperties |
| List of properties on the calling Source Instances instance to push from | |
| TArray< FName > | SourcePropertyNames |
| List of source properties to use, 1-1 with Dest names below, built by the compiler | |
| UObject * | TargetInstance |
| This is the actual instance allocated at runtime that will run. 更多... | |
额外继承的成员函数 | |
Public 成员函数 继承自 FAnimNode_Base | |
| virtual void | CacheBones_AnyThread (const FAnimationCacheBonesContext &Context) |
| Called to cache any bones that this node needs to track (e.g. 更多... | |
| virtual bool | CanUpdateInWorkerThread () const |
| Whether this node can run its Update() call on a worker thread. 更多... | |
| virtual void | Evaluate_AnyThread (FPoseContext &Output) |
| Called to evaluate local-space bones transforms according to the weights set up in Update(). 更多... | |
| virtual void | EvaluateComponentSpace_AnyThread (FComponentSpacePoseContext &Output) |
| Called to evaluate component-space bone transforms according to the weights set up in Update(). 更多... | |
| virtual void | GatherDebugData (FNodeDebugData &DebugData) |
| Called to gather on-screen debug data. 更多... | |
| virtual bool | HasPreUpdate () const |
| Override this to indicate that PreUpdate() should be called on the game thread (usually to gather non-thread safe data) before Update() is called. 更多... | |
| virtual void | Initialize (const FAnimationInitializeContext &Context) |
| Deprecated functions | |
| virtual void | Initialize_AnyThread (const FAnimationInitializeContext &Context) |
| Called when the node first runs. 更多... | |
| virtual bool | NeedsDynamicReset () const |
| For nodes that implement some kind of simulation, return true here so ResetDynamics() gets called when things like teleports, time skips etc. 更多... | |
| virtual bool | NeedsOnInitializeAnimInstance () const |
| For nodes that need some kind of initialization that is not dependent on node relevancy (i.e. 更多... | |
| virtual void | OnUpdatesSkipped (TArrayView< const FAnimationUpdateContext * > SkippedUpdateContexts) |
| Called on a tracked ancestor node when there are Update() calls that were skipped due to pose caching. 更多... | |
| virtual void | OverrideAsset (class UAnimationAsset *NewAsset) |
| If a derived anim node should respond to asset overrides, OverrideAsset should be defined to handle changing the asset This is called during anim blueprint compilation to handle child anim blueprints. 更多... | |
| virtual void | PostCompile (const class USkeleton *InSkeleton) |
| Called after compilation | |
| virtual void | PreUpdate (const UAnimInstance *InAnimInstance) |
| Override this to perform game-thread work prior to non-game thread Update() being called | |
| virtual void | ResetDynamics (ETeleportType InTeleportType) |
| Called to help dynamics-based updates to recover correctly from large movements/teleports | |
| virtual void | Update_AnyThread (const FAnimationUpdateContext &Context) |
| Called to update the state of the graph relative to this node. 更多... | |
| virtual bool | WantsSkippedUpdates () const |
| Override this if your node uses ancestor tracking and wants to be informed of Update() calls that were skipped due to pose caching. | |
Custom property node that you'd like to expand pin by reflecting internal instance (we call TargetInstance here)
Used by sub anim instance or control rig node where you have internal instance and would like to reflect to AnimNode as a pin
To make pin working, you need storage inside of AnimInstance (SourceProperties/SourcePropertyNames) So this creates storage inside of AnimInstance with the unique custom property name and it copies to the actually TargetInstance here to allow the information be transferred in runtime (DestProperties/DestPropertyNames)
TargetInstance - UObject derived instance that has certain dest properties Source - AnimInstance's copy properties that is used to store the data
|
inlineoverrideprotectedvirtual |
Override this to indicate that PreUpdate() should be called on the game thread (usually to gather non-thread safe data) before Update() is called.
Note that this is called at load on the UAnimInstance CDO to avoid needing to call this at runtime. This is called on the game thread.
重载 FAnimNode_Base .
|
protected |
This is the actual instance allocated at runtime that will run.
Set by child class.