Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- TNamedValueArray
- FBaseBlendedCurve_DEPRECATED
- TBaseBlendedCurve
- FBlendedCurve
- FBlendedHeapCurve
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimCurveTypes.h |
| Include | #include "Animation/AnimCurveTypes.h" |
Syntax
template<typename InAllocatorType, typename InElementType>
struct TBaseBlendedCurve :
public UE::Anim::TNamedValueArray< InAllocatorType, InElementType >,
public UE::Anim::FBaseBlendedCurve_DEPRECATED
Remarks
This struct is used to create curve snap shot of current time when extracted
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Accumulate
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& AdditiveCurve, |
Accumulate the input curve with input Weight | |
| 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. | |
| 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. | |
| void | ConvertToAdditive
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& BaseCurve |
Convert current curves to Additive (this - BaseCurve) if overlapping entries are found | |
| void | CopyFrom
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& InCurveToCopyFrom |
Copy elements between curves that have different allocators & element types. Does not copy filter. | |
| float | Get value of curve element named InName. | ||
| float | Get Value of curve named InName with validation and default value Note that this performs a binary search per-call. | ||
| const UE::Anim::FCurveFilter * | GetFilter () |
Get the filter referenced by this curve. | |
| UE::Anim::ECurveElementFlags | Get flags for curve element named InName Note that this performs a binary search per-call. | ||
| void | InitFrom
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& InCurveToInitFrom |
Initialize from another curve. Just copies the filter and empties 'this'. | |
| void | InvalidateCurveWeight
(
FName InName |
Invalidate value of the named curve | |
| void | Lerp
(
const TBaseBlendedCurve< AllocatorA, ElementTypeA >& A, |
Blend (A, B) using Alpha | |
| void | LerpTo
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& Other, |
Blend with Other using Alpha, same as Lerp | |
| void | Mirror the values & flags of the two named curves if both exist. | ||
| void | MoveFrom
(
TBaseBlendedCurve& CurveToMoveFrom |
Once moved, source is invalid | |
| void | Override
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToOverrideFrom, |
Override with input curve * weight | |
| void | Override
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToOverrideFrom |
Override with input curve | |
| void | OverrideMove
(
TBaseBlendedCurve& CurveToOverrideFrom |
Override with input curve, leaving input curve invalid | |
| void | Reserve
(
int32 InNumElements |
Reserves memory for InNumElements | |
| void | Set value of curve named InName to InValue. | ||
| void | SetFilter
(
const UE::Anim::FCurveFilter* InFilter |
Set the filter referenced by this curve. | |
| void | SetFlags
(
FName InName, |
Set flags of curve named InName to InFlags. | |
| void | UseMaxValue
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToCombine |
This doesn't blend but combines MAX(current value, CurveToCombine value) | |
| void | UseMinValue
(
const TBaseBlendedCurve< OtherAllocator, OtherElementType >& CurveToCombine |
This doesn't blend but combines MIN(current weight, CurveToCombine weight) |
Typedefs
| Name | Description |
|---|---|
| AllocatorType | |
| ElementType | |
| Super |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Get
(
SmartName::UID_Type InUid |
Please use Get with a curve name or consider using one of the bulk APIs (e.g. UE::Anim::FCurveUtils::BulkGet) | |
| float | Get
(
SmartName::UID_Type InUid, |
Please use Get with a curve name or consider using one of the bulk APIs (e.g. UE::Anim::FCurveUtils::BulkGet). | |
| int32 | GetArrayIndexByUID
(
SmartName::UID_Type InUid |
This function has been removed. | |
| int32 | GetValidElementCount
(
TArray< uint16 > const* InUIDToArrayIndexLUT |
Element validity/enabled state is now handled via UE::Anim::FCurveFilter. | |
| void | InitFrom can no longer be called with a LUT, please use another initialization method or just dont initialize the curve. | ||
| void | InvalidateCurveWeight
(
SmartName::UID_Type InUid |
Please use InvalidateCurveWeight with a curve name | |
| bool | IsEnabled
(
SmartName::UID_Type InUid |
Element validity/enabled state is now handled via UE::Anim::FCurveFilter. | |
| bool | IsValid () |
Curves are now always valid. | |
| int32 | NumValid () |
Please use Num(). Element validity/enabled state is now handled via UE::Anim::FCurveFilter. | |
| void | Set
(
SmartName::UID_Type InUid, |
Please use Set with a curve name or consider using one of the bulk APIs (e.g. UE::Anim::FCurveUtils::BulkSet). |