Navigation
API > API/Runtime > API/Runtime/Engine
This struct is used to create curve snap shot of current time when extracted
| Name | TBaseBlendedCurve |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimCurveTypes.h |
| Include Path | #include "Animation/AnimCurveTypes.h" |
Syntax
template<typename InAllocatorType, typename InElementType>
struct TBaseBlendedCurve :
public UE::Anim::TNamedValueArray< FAnimStackAllocator, UE::Anim::FCurveElement > ,
public UE::Anim::FBaseBlendedCurve_DEPRECATED
Inheritance Hierarchy
- FBaseBlendedCurve_DEPRECATED → TBaseBlendedCurve
- TNamedValueArray → TBaseBlendedCurve
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AllocatorType | InAllocatorType | Animation/AnimCurveTypes.h | |
| ElementType | InElementType | Animation/AnimCurveTypes.h | |
| Super | UE::Anim::TNamedValueArray< AllocatorType, ElementType > | Animation/AnimCurveTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Filter | const UE::Anim::FCurveFilter * | Filter to use when building curves. | Animation/AnimCurveTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Accumulate
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& AdditiveCurve, |
Accumulate the input curve with input Weight | Animation/AnimCurveTypes.h | |
void Combine
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToCombine |
If CurveToCombine contains a valid element, then the value in 'this' is overridden, otherwise the value is not modified. | Animation/AnimCurveTypes.h | |
void CombinePreserved
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToCombine |
If 'this' does not contain a valid element, then the value in 'this' is set, otherwise the value is not modified. | Animation/AnimCurveTypes.h | |
void ConvertToAdditive
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& BaseCurve |
Convert current curves to Additive (this - BaseCurve) if overlapping entries are found | Animation/AnimCurveTypes.h | |
void CopyFrom
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& InCurveToCopyFrom |
Copy elements between curves that have different allocators & element types. Does not copy filter. | Animation/AnimCurveTypes.h | |
float Get
(
SmartName::UID_Type InUid, |
Animation/AnimCurveTypes.h | ||
| Get Value of curve named InName with validation and default value Note that this performs a binary search per-call. | Animation/AnimCurveTypes.h | ||
| Get value of curve element named InName. | Animation/AnimCurveTypes.h | ||
float Get
(
SmartName::UID_Type InUid |
Animation/AnimCurveTypes.h | ||
int32 GetArrayIndexByUID
(
SmartName::UID_Type InUid |
Animation/AnimCurveTypes.h | ||
const UE::Anim::FCurveFilter * GetFilter() |
Get the filter referenced by this curve. | Animation/AnimCurveTypes.h | |
UE::Anim::ECurveElementFlags GetFlags
(
FName InName |
Get flags for curve element named InName Note that this performs a binary search per-call. | Animation/AnimCurveTypes.h | |
void InitFrom
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& InCurveToInitFrom |
Initialize from another curve. Just copies the filter and empties 'this'. | Animation/AnimCurveTypes.h | |
| Animation/AnimCurveTypes.h | |||
void InvalidateCurveWeight
(
FName InName |
Invalidate value of the named curve | Animation/AnimCurveTypes.h | |
void InvalidateCurveWeight
(
SmartName::UID_Type InUid |
Animation/AnimCurveTypes.h | ||
bool IsEnabled
(
SmartName::UID_Type InUid |
Animation/AnimCurveTypes.h | ||
bool IsValid() |
Animation/AnimCurveTypes.h | ||
void Lerp
(
const TBaseBlendedCurve< AllocatorA, ElementTypeA >& A, |
Blend (A, B) using Alpha. Lone valid elements are not preserved. | Animation/AnimCurveTypes.h | |
void LerpTo
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& Other, |
Blend with Other using Alpha. Lone valid elements are not preserved. Same as Lerp | Animation/AnimCurveTypes.h | |
void LerpToValid
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& Other, |
Blend with Other using Alpha when both elements are valid, otherwise preserve valid element. | Animation/AnimCurveTypes.h | |
void LerpValid
(
const TBaseBlendedCurve< AllocatorA, ElementTypeA >& A, |
Blend with Other using Alpha when both elements are valid, otherwise preserve valid element. | Animation/AnimCurveTypes.h | |
| Mirror the values & flags of the two named curves if both exist. | Animation/AnimCurveTypes.h | ||
void MoveFrom
(
TBaseBlendedCurve& CurveToMoveFrom |
Once moved, source is invalid | Animation/AnimCurveTypes.h | |
int32 NumValid() |
Animation/AnimCurveTypes.h | ||
void Override
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToOverrideFrom |
Override with input curve | Animation/AnimCurveTypes.h | |
void Override
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToOverrideFrom, |
Override with input curve * weight | Animation/AnimCurveTypes.h | |
void OverrideMove
(
TBaseBlendedCurve& CurveToOverrideFrom |
Override with input curve, leaving input curve invalid | Animation/AnimCurveTypes.h | |
void Reserve
(
int32 InNumElements |
Reserves memory for InNumElements | Animation/AnimCurveTypes.h | |
void Set
(
SmartName::UID_Type InUid, |
Animation/AnimCurveTypes.h | ||
| Set value of curve named InName to InValue. | Animation/AnimCurveTypes.h | ||
void SetFilter
(
const UE::Anim::FCurveFilter* InFilter |
Set the filter referenced by this curve. | Animation/AnimCurveTypes.h | |
void SetFlags
(
FName InName, |
Set flags of curve named InName to InFlags. | Animation/AnimCurveTypes.h | |
void UseMaxValue
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToCombine |
This doesn't blend but combines MAX(current value, CurveToCombine value) | Animation/AnimCurveTypes.h | |
void UseMinValue
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToCombine |
This doesn't blend but combines MIN(current weight, CurveToCombine weight) | Animation/AnimCurveTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetValidElementCount
(
TArray< uint16 > const* InUIDToArrayIndexLUT |
Animation/AnimCurveTypes.h |