Navigation
API > API/Plugins > API/Plugins/UAFAnimGraph
A trait that smoothly blends between discrete states over time. This trait implements both the logic and contains the arguments necessary.
| Name | FBlendSmootherTrait |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFAnimGraph/Source/UAFAnimGraph/Public/Traits/BlendSmoother.h |
| Include Path | #include "Traits/BlendSmoother.h" |
Syntax
struct FBlendSmootherTrait :
public UE::UAF::FBlendSmootherCoreTrait ,
public UE::UAF::ISmoothBlend
Inheritance Hierarchy
- FTrait → FAdditiveTrait → FBlendSmootherCoreTrait → FBlendSmootherTrait
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FSharedData | FAnimNextBlendSmootherTraitSharedData | Traits/BlendSmoother.h | |
| TraitSuper | FBlendSmootherCoreTrait | 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 ISmoothBlend
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual float GetBlendTime
(
FExecutionContext& Context, |
ISmoothBlend impl. | Traits/BlendSmoother.h | |
virtual EAlphaBlendOption GetBlendType
(
FExecutionContext& Context, |
Returns the desired blend type for the specified child. | Traits/BlendSmoother.h | |
virtual UCurveFloat * GetCustomBlendCurve
(
FExecutionContext& Context, |
Returns the desired blend curve for the specified child. | Traits/BlendSmoother.h |