![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AnimNode_CustomProperty.h>
Inheritance diagram for FAnimNode_CustomProperty:Protected Member Functions | |
| virtual ENGINE_API void | InitializeProperties (const UObject *InSourceInstance, UClass *InTargetClass) |
| virtual ENGINE_API void | PropagateInputProperties (const UObject *InSourceInstance) |
Protected Member Functions inherited from FAnimNode_Base | |
| template<typename DataType > | |
| const DataType & | GetData (UE::Anim::FNodeDataId InId, const UObject *InObject=nullptr) const |
| template<typename DataType > | |
| DataType * | GetInstanceDataPtr (UE::Anim::FNodeDataId InId, UObject *InObject=nullptr) |
| ENGINE_API bool | IsLODEnabled (FAnimInstanceProxy *AnimInstanceProxy) |
| virtual int32 | GetLODThreshold () const |
| virtual ENGINE_API void | OnInitializeAnimInstance (const FAnimInstanceProxy *InProxy, const UAnimInstance *InAnimInstance) |
Protected Attributes | |
| TArray< FName > | SourcePropertyNames |
| TArray< FName > | DestPropertyNames |
| TObjectPtr< UObject > | TargetInstance |
| TArray< FProperty * > | SourceProperties |
| TArray< FProperty * > | DestProperties |
| virtual UClass * | GetTargetClass () const PURE_VIRTUAL(FAnimNode_CustomProperty |
Friends | |
| class | UAnimGraphNode_CustomProperty |
| class | UAnimInstance |
| class | UControlRigLayerInstance |
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
| FAnimNode_CustomProperty::FAnimNode_CustomProperty | ( | ) |
|
default |
|
default |
|
inline |
|
protectedvirtual |
Reimplemented in FAnimNode_LinkedAnimLayer.
|
protectedvirtual |
|
friend |
|
friend |
|
friend |
List of properties on the TargetInstance to push to, built from name list when initialised
List of destination properties to use, 1-1 with Source names above, built by the compiler
|
protected |
Get Target Class
List of properties on the calling Source Instances instance to push from
List of source properties to use, 1-1 with Dest names below, built by the compiler
|
protected |
This is the actual instance allocated at runtime that will run. Set by child class.