Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
A trait that smoothly blends between discrete states over time. It only implements the smoothing logic, it queries its required arguments using the ISmoothBlend interface.
| Name | FBlendSmootherCoreTrait |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/Traits/BlendSmoother.h |
| Include Path | #include "Traits/BlendSmoother.h" |
Syntax
struct FBlendSmootherCoreTrait :
public UE::UAF::FAdditiveTrait ,
public UE::UAF::IEvaluate ,
public UE::UAF::IUpdate ,
public UE::UAF::IDiscreteBlend
Inheritance Hierarchy
- FTrait → FAdditiveTrait → FBlendSmootherCoreTrait
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FBlendData | Struct for tracking blends for each pose. |
| FInstanceData |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FSharedData | FAnimNextBlendSmootherCoreTraitSharedData | Traits/BlendSmoother.h | |
| TraitSuper | FAdditiveTrait | Traits/BlendSmoother.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TraitMemoryDescription | const UE::UAF::FTraitMemoryLayout | Traits/BlendSmoother.h | |
| TraitUID | UE::UAF::FTraitUID | FTrait impl | Traits/BlendSmoother.h |
Functions
Public
Overridden from FTrait
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ConstructTraitInstance
(
const UE::UAF::FExecutionContext& Context, |
Called when a new instance of the trait is created or destroyed Derived types must override this and forward to the instance data constructor/destructor | Traits/BlendSmoother.h | |
virtual void DestructTraitInstance
(
const UE::UAF::FExecutionContext& Context, |
Traits/BlendSmoother.h | ||
virtual int32 GetLatentPropertyIndex
(
const FAnimNextTraitSharedData& InSharedData, |
Returns the latent property index or INDEX_NONE if the property isn't found or if it isn't latent WARNING: Latent property handles are in the order defined by the enumerator macro within the shared data, | Traits/BlendSmoother.h | |
virtual UE::UAF::FTraitLatentPropertyMemoryLayout GetLatentPropertyMemoryLayout
(
const FAnimNextTraitSharedData& SharedData, |
Returns the memory layout of the specified latent property. | Traits/BlendSmoother.h | |
virtual uint32 GetNumLatentTraitProperties() |
The number of latent property properties in the shared data of this trait. | Traits/BlendSmoother.h | |
virtual TConstArrayView< UE::UAF::FTraitEventUID > GetTraitEvents() |
Returns a list of events that this trait handles. | Traits/BlendSmoother.h | |
virtual const UE::UAF::ITraitInterface * GetTraitInterface
(
UE::UAF::FTraitInterfaceUID InterfaceUID |
Returns a pointer to the specified interface if it is supported. Derived types must override this. | Traits/BlendSmoother.h | |
virtual TConstArrayView< UE::UAF::FTraitInterfaceUID > GetTraitInterfaces() |
Returns a list of interfaces that this trait supports. | Traits/BlendSmoother.h | |
virtual UE::UAF::FTraitMemoryLayout GetTraitMemoryDescription() |
Returns the memory requirements of the derived trait instance. | Traits/BlendSmoother.h | |
virtual FString GetTraitName() |
Returns the trait name. | Traits/BlendSmoother.h | |
virtual TConstArrayView< UE::UAF::FTraitInterfaceUID > GetTraitRequiredInterfaces() |
Returns a list of interfaces that this trait reqquires. | Traits/BlendSmoother.h | |
virtual UScriptStruct * GetTraitSharedDataStruct() |
Returns the UScriptStruct associated with the shared data for the trait. | Traits/BlendSmoother.h | |
virtual UE::UAF::FTraitUID GetTraitUID() |
Returns the globally unique UID for this trait. | Traits/BlendSmoother.h | |
virtual bool IsHidden() |
Makes the Trait Editor only display this Trait in Advanced view. | Traits/BlendSmoother.h | |
virtual UE::UAF::ETraitStackPropagation OnTraitEvent
(
UE::UAF::FExecutionContext& Context, |
Called when an event reaches an instance of this trait. | Traits/BlendSmoother.h |
Overridden from IEvaluate
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEvaluate
(
FEvaluateTraversalContext& Context, |
IEvaluate impl. | Traits/BlendSmoother.h |
Overridden from IUpdate
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PreUpdate
(
FUpdateTraversalContext& Context, |
IUpdate impl. | Traits/BlendSmoother.h |
Overridden from IDiscreteBlend
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FAlphaBlend * GetBlendState
(
FExecutionContext& Context, |
Returns the blend alpha for the specified child Returns nullptr if the child index is invalid Allows additive traits to query the internal state of the base trait | Traits/BlendSmoother.h | |
virtual float GetBlendWeight
(
FExecutionContext& Context, |
IDiscreteBlend impl. | Traits/BlendSmoother.h | |
virtual void OnBlendTransition
(
FExecutionContext& Context, |
Called when a blend transition between children occurs OldChildIndex can be INDEX_NONE if there was no previously active child NewChildIndex can be larger than the current number of known children to support a dynamic number of children at runtime When this occurs, the number of children increments by one The number of children never shrinks | Traits/BlendSmoother.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void InitializeInstanceData
(
FExecutionContext& Context, |
Internal impl. | Traits/BlendSmoother.h |