UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Anim::AttributeTypes Struct Reference

#include <AttributeTypes.h>

Public Member Functions

 DECLARE_MULTICAST_DELEGATE_TwoParams (FOnAttributeTypesChanged, const UScriptStruct *, bool)
 

Static Public Member Functions

static void LazyInitialize ()
 
static FOnAttributeTypesChangedGetOnAttributeTypesChanged ()
 
template<typename AttributeType , typename OperatorType , typename... OperatorArgs>
static void RegisterTypeWithOperator (OperatorArgs &&... args)
 
template<typename AttributeType >
static void RegisterType ()
 
template<typename AttributeType >
static void UnregisterType ()
 
static const IAttributeBlendOperatorGetTypeOperator (TWeakObjectPtr< const UScriptStruct > WeakStruct)
 
static bool CanInterpolateType (TWeakObjectPtr< const UScriptStruct > WeakStruct)
 
static bool IsTypeRegistered (const UScriptStruct *ScriptStruct)
 
static TArray< TWeakObjectPtr< const UScriptStruct > > & GetRegisteredTypes ()
 

Static Protected Member Functions

static ENGINE_API bool RegisterNonBlendableType (const UScriptStruct *InScriptStruct)
 
static ENGINE_API void UnregisterType (const UScriptStruct *InScriptStruct)
 

Static Protected Attributes

static ENGINE_API TArray< TWeakObjectPtr< const UScriptStruct > > RegisteredTypes
 
static ENGINE_API TArray< TUniquePtr< IAttributeBlendOperator > > Operators
 
static ENGINE_API TArray< TWeakObjectPtr< const UScriptStruct > > InterpolatableTypes
 
static ENGINE_API FOnAttributeTypesChanged OnAttributeTypesChangedDelegate
 

Friends

class ::UAnimationSettings
 
struct FAttributeTypeRegistrar
 

Member Function Documentation

◆ CanInterpolateType()

static bool UE::Anim::AttributeTypes::CanInterpolateType ( TWeakObjectPtr< const UScriptStruct WeakStruct)
inlinestatic

Returns whether or not the provided type can be interpolated, defaults to false when the type is not registered

◆ DECLARE_MULTICAST_DELEGATE_TwoParams()

UE::Anim::AttributeTypes::DECLARE_MULTICAST_DELEGATE_TwoParams ( FOnAttributeTypesChanged  ,
const UScriptStruct ,
bool   
)

◆ GetOnAttributeTypesChanged()

static FOnAttributeTypesChanged & UE::Anim::AttributeTypes::GetOnAttributeTypesChanged ( )
inlinestatic

◆ GetRegisteredTypes()

static TArray< TWeakObjectPtr< const UScriptStruct > > & UE::Anim::AttributeTypes::GetRegisteredTypes ( )
inlinestatic

Returns all registered types

◆ GetTypeOperator()

static const IAttributeBlendOperator * UE::Anim::AttributeTypes::GetTypeOperator ( TWeakObjectPtr< const UScriptStruct WeakStruct)
inlinestatic

Returns the blend operator for the provided type, asserts when the type is not registered

◆ IsTypeRegistered()

static bool UE::Anim::AttributeTypes::IsTypeRegistered ( const UScriptStruct ScriptStruct)
inlinestatic

Returns whether or not the type is registered

◆ LazyInitialize()

static void UE::Anim::AttributeTypes::LazyInitialize ( )
inlinestatic

◆ RegisterNonBlendableType()

bool UE::Anim::AttributeTypes::RegisterNonBlendableType ( const UScriptStruct InScriptStruct)
staticprotected

Register user defined structs as non-blendable animation attribute

◆ RegisterType()

template<typename AttributeType >
static void UE::Anim::AttributeTypes::RegisterType ( )
inlinestatic

Used for registering an attribute type for which TAttributeTypeTraits::WithCustomBlendOperator is set to false, use RegisterTypeWithOperator() otherwise

◆ RegisterTypeWithOperator()

template<typename AttributeType , typename OperatorType , typename... OperatorArgs>
static void UE::Anim::AttributeTypes::RegisterTypeWithOperator ( OperatorArgs &&...  args)
inlinestatic

Used for registering an attribute type for which TAttributeTypeTraits::WithCustomBlendOperator is set to true, use RegisterType() otherwise

◆ UnregisterType() [1/2]

template<typename AttributeType >
static void UE::Anim::AttributeTypes::UnregisterType ( )
inlinestatic

Unregisters a specific attribute type and deletes its associated blend operator

◆ UnregisterType() [2/2]

void UE::Anim::AttributeTypes::UnregisterType ( const UScriptStruct InScriptStruct)
staticprotected

Unregisters a specific attribute type and deletes its associated blend operator

Friends And Related Symbol Documentation

◆ ::UAnimationSettings

◆ FAttributeTypeRegistrar

Member Data Documentation

◆ InterpolatableTypes

TArray< TWeakObjectPtr< const UScriptStruct > > UE::Anim::AttributeTypes::InterpolatableTypes
staticprotected

◆ OnAttributeTypesChangedDelegate

AttributeTypes::FOnAttributeTypesChanged UE::Anim::AttributeTypes::OnAttributeTypesChangedDelegate
staticprotected

◆ Operators

TArray< TUniquePtr< IAttributeBlendOperator > > UE::Anim::AttributeTypes::Operators
staticprotected

◆ RegisteredTypes

TArray< TWeakObjectPtr< const UScriptStruct > > UE::Anim::AttributeTypes::RegisteredTypes
staticprotected

The documentation for this struct was generated from the following files: