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

#include <AnimCurveUtils.h>

Static Public Member Functions

template<typename NamePredicateType , typename ValuePredicateType , typename CurveAllocatorType , typename CurveElementType >
static void BuildSorted (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, int32 InNumElements, NamePredicateType InNamePredicate, ValuePredicateType InValuePredicate, const FCurveFilter *InFilter=nullptr)
 
template<typename NamePredicateType , typename ValuePredicateType , typename CurveAllocatorType , typename CurveElementType >
static void BuildUnsortedUnfiltered (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, int32 InNumElements, NamePredicateType InNamePredicate, ValuePredicateType InValuePredicate)
 
template<typename CurveAllocatorType , typename CurveElementType >
static void BuildUnsorted (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, const TMap< FName, float > &InMap)
 
template<typename CurveAllocatorType , typename CurveElementType >
static void BuildUnsorted (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, TConstArrayView< TTuple< FName, float > > InInputArrayView)
 
template<typename CurveAllocatorType , typename CurveElementType >
static void BuildUnsorted (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, std::initializer_list< TTuple< FName, float > > InInputArgs)
 
template<typename CurveAllocatorType , typename CurveElementType >
static void BuildUnsorted (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, std::initializer_list< TTuple< FName, UE::Anim::ECurveElementFlags > > InInputArgs)
 
template<typename CurveAllocatorType , typename CurveElementType >
static void BuildUnsorted (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, std::initializer_list< TTuple< FName, float, UE::Anim::ECurveElementFlags > > InInputArgs)
 
template<typename NamePredicateType , typename ValuePredicateType , typename CurveAllocatorType , typename CurveElementType >
static void BuildUnsorted (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, int32 InNumElements, NamePredicateType InNamePredicate, ValuePredicateType InValuePredicate, const FCurveFilter *InFilter=nullptr)
 
template<typename NamePredicateType , typename ValuePredicateType , typename ValidityPredicateType , typename CurveAllocatorType , typename CurveElementType >
static void BuildUnsortedValidated (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &OutCurve, int32 InNumElements, NamePredicateType InNamePredicate, ValuePredicateType InValuePredicate, ValidityPredicateType InValidityPredicate)
 
template<typename CurveAllocatorType , typename CurveElementType >
static void Filter (TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &InOutCurve, const FCurveFilter &InFilter)
 
template<typename CurveType0 , typename CurveType1 , typename ValuePredicateType >
static void BulkGet (const CurveType0 &InCurve, const CurveType1 &InBulkCurves, ValuePredicateType InValuePredicate)
 
template<typename CurveType0 , typename CurveType1 , typename ValuePredicateType >
static void BulkSet (CurveType0 &InCurve, const CurveType1 &InBulkCurves, ValuePredicateType InValuePredicate)
 

Member Function Documentation

◆ BuildSorted()

static void UE::Anim::FCurveUtils::BuildSorted ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
int32  InNumElements,
NamePredicateType  InNamePredicate,
ValuePredicateType  InValuePredicate,
const FCurveFilter InFilter = nullptr 
)
inlinestatic

◆ BuildUnsorted() [1/6]

static void UE::Anim::FCurveUtils::BuildUnsorted ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
const TMap< FName, float > &  InMap 
)
inlinestatic

◆ BuildUnsorted() [2/6]

static void UE::Anim::FCurveUtils::BuildUnsorted ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
int32  InNumElements,
NamePredicateType  InNamePredicate,
ValuePredicateType  InValuePredicate,
const FCurveFilter InFilter = nullptr 
)
inlinestatic

◆ BuildUnsorted() [3/6]

static void UE::Anim::FCurveUtils::BuildUnsorted ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
std::initializer_list< TTuple< FName, float > >  InInputArgs 
)
inlinestatic

◆ BuildUnsorted() [4/6]

static void UE::Anim::FCurveUtils::BuildUnsorted ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
std::initializer_list< TTuple< FName, float, UE::Anim::ECurveElementFlags > >  InInputArgs 
)
inlinestatic

◆ BuildUnsorted() [5/6]

static void UE::Anim::FCurveUtils::BuildUnsorted ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
std::initializer_list< TTuple< FName, UE::Anim::ECurveElementFlags > >  InInputArgs 
)
inlinestatic

◆ BuildUnsorted() [6/6]

static void UE::Anim::FCurveUtils::BuildUnsorted ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
TConstArrayView< TTuple< FName, float > >  InInputArrayView 
)
inlinestatic

◆ BuildUnsortedUnfiltered()

static void UE::Anim::FCurveUtils::BuildUnsortedUnfiltered ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
int32  InNumElements,
NamePredicateType  InNamePredicate,
ValuePredicateType  InValuePredicate 
)
inlinestatic

◆ BuildUnsortedValidated()

static void UE::Anim::FCurveUtils::BuildUnsortedValidated ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  OutCurve,
int32  InNumElements,
NamePredicateType  InNamePredicate,
ValuePredicateType  InValuePredicate,
ValidityPredicateType  InValidityPredicate 
)
inlinestatic

◆ BulkGet()

static void UE::Anim::FCurveUtils::BulkGet ( const CurveType0 InCurve,
const CurveType1 InBulkCurves,
ValuePredicateType  InValuePredicate 
)
inlinestatic

Extracts elements from curves in bulk. This is more efficient that just calling Curve.Get() repeatedly.

Parameters
InCurveThe curve to get values from
InBulkCurvesThe curve specifying values to get
InValuePredicatePredicate to get each value. Signature: (const CurveType1::ElementType& InElement1, float InValue) -> void

◆ BulkSet()

static void UE::Anim::FCurveUtils::BulkSet ( CurveType0 InCurve,
const CurveType1 InBulkCurves,
ValuePredicateType  InValuePredicate 
)
inlinestatic

Inserts elements to curves in bulk. This is more efficient that just calling Curve.Set() repeatedly.

Parameters
InCurveThe curve to set values into
InBulkCurvesThe curve specifying values to set
InValuePredicatePredicate to set each value. Signature: (const CurveType1::ElementType& InElement1) -> float

◆ Filter()

static void UE::Anim::FCurveUtils::Filter ( TBaseBlendedCurve< CurveAllocatorType, CurveElementType > &  InOutCurve,
const FCurveFilter InFilter 
)
inlinestatic

Remove any curves in InOutCurve that are filtered by InFilter


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