engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
FBaseBlendedCurve< InAllocator > 模板结构体 参考

This struct is used to create curve snap shot of current time when extracted 更多...

#include <AnimCurveTypes.h>

Public 成员函数

void Accumulate (const FBaseBlendedCurve &AdditiveCurve, float Weight)
 Accumulate the input curve with input Weight
 
void Combine (const FBaseBlendedCurve &CurveToCombine)
 This doesn't blend but later pose with valid curve value overrides
 
void CombinePreserved (const FBaseBlendedCurve &CurveToCombine)
 This combines IF the input does not contain valid curve
 
void ConvertToAdditive (const FBaseBlendedCurve &BaseCurve)
 Convert current curves to Additive (this - BaseCurve) if same found
 
template<typename OtherAllocator >
void CopyFrom (const FBaseBlendedCurve< OtherAllocator > &CurveToCopyFrom)
 CopyFrom as expected.
 
void Empty ()
 Empty
 
 FBaseBlendedCurve ()
 constructor
 
float Get (USkeleton::AnimCurveUID InUid) const
 Get Value of InUID - 更多...
 
int32 GetArrayIndexByUID (USkeleton::AnimCurveUID InUid) const
 Get Array Index by UID
 
void InitFrom (const FBoneContainer &RequiredBones)
 Initialize Curve Data from following data
 
bool IsEnabled (USkeleton::AnimCurveUID InUid) const
 return true if enabled. 更多...
 
void Lerp (const FBaseBlendedCurve &A, const FBaseBlendedCurve &B, float Alpha)
 Blend (A, B) using Alpha, same as Lerp
 
void LerpTo (const FBaseBlendedCurve &Other, float Alpha)
 Blend with Other using Alpha, same as Lerp
 
void MoveFrom (FBaseBlendedCurve< Allocator > &CurveToMoveFrom)
 Once moved, source is invalid
 
int32 Num () const
 Return number of elements
 
void Override (const FBaseBlendedCurve &CurveToOverrideFrom)
 Override with input curve
 
void Override (const FBaseBlendedCurve &CurveToOverrideFrom, float Weight)
 Override with inupt curve * weight
 
void OverrideMove (FBaseBlendedCurve &CurveToOverrideFrom)
 Override with input curve, leaving input curve invalid
 
void Set (USkeleton::AnimCurveUID InUid, float InValue)
 Set value of InUID to InValue
 
void UseMaxValue (const FBaseBlendedCurve &CurveToCombine)
 This doesn't blend but combine MAX(current weight, curvetocombine weight)
 
void UseMinValue (const FBaseBlendedCurve &CurveToCombine)
 This doesn't blend but combine MIN(current weight, curvetocombine weight)
 

静态 Public 成员函数

static int32 GetValidElementCount (TArray< uint16 > const *InUIDToArrayIndexLUT)
 Get Valid Element Count from given UIDToArrayIndexLUT
 

Public 属性

bool bInitialized
 Whether initialized or not
 
TArray< float, Allocator > CurveWeights
 List of curve weights for this pose
 
uint16 NumValidCurveCount
 Valid Curve count This should match Elements.Num()
 
TArray< uint16 > const * UIDToArrayIndexLUT
 UID to array index look up table for Elements This eliminates the look up cost
 
TBitArray< Allocator > ValidCurveWeights
 A bitmask to indicate which weights are valid.
 

详细描述

template<typename InAllocator>
struct FBaseBlendedCurve< InAllocator >

This struct is used to create curve snap shot of current time when extracted

成员函数说明

◆ Get()

template<typename InAllocator >
float FBaseBlendedCurve< InAllocator >::Get ( USkeleton::AnimCurveUID  InUid) const
inline

Get Value of InUID -

待办事项:
: add validation check here and make sure caller also knows it's not valid

◆ IsEnabled()

template<typename InAllocator >
bool FBaseBlendedCurve< InAllocator >::IsEnabled ( USkeleton::AnimCurveUID  InUid) const
inline

return true if enabled.

return false otherwise.


该结构体的文档由以下文件生成: