Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimCurveTypes.h |
| Include | #include "Animation/AnimCurveTypes.h" |
Syntax
struct FRawCurveTracks
Remarks
Raw Curve data for serialization
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FFloatCurve > | FloatCurves | ||
| TArray< FTransformCurve > | TransformCurves | : TransformCurves are used to edit additive animation in editor. | |
| TArray< FVectorCurve > | VectorCurves | : Currently VectorCurves are not evaluated or used for anything else but transient data for modifying bone track Note that it doesn't have UPROPERTY tag yet. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddCurveData
(
const FName& NewCurve, |
Add new curve from the provided UID and return true if success bVectorInterpCurve == true, then it will create FVectorCuve, otherwise, FFloatCurve | |
| void | AddFloatCurveKey
(
const FName& NewCurve, |
Add new float curve from the given UID if not existing and add the key with time/value | |
| void | DeleteAllCurveData
(
ERawCurveTrackTypes SupportedCurveType |
Delete all curve data | |
| bool | DeleteCurveData
(
const FName& CurveToDelete, |
Delete curve data | |
| bool | DuplicateCurveData
(
const FName& CurveToCopy, |
Duplicate curve data | |
| void | Empty () |
Clear all keys | |
| void | EvaluateCurveData
(
FBlendedCurve& Curves, |
Evaluate curve data at the time CurrentTime, and add to Instance. | |
| void | EvaluateTransformCurveData
(
USkeleton* Skeleton, |
Evaluate transform curves | |
| FAnimCurveBase * | GetCurveData
(
FName Name, |
Find curve data based on the curve name | |
| void | PostSerializeFixup
(
FArchive& Ar |
This allows loading data that was saved between VER_UE4_SKELETON_ADD_SMARTNAMES and FFrameworkObjectVersion::SmartNameRefactor. | |
| void | RemoveRedundantKeys
(
float Tolerance, |
||
| void | Resize
(
float TotalLength, |
Resize curve length. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddCurveData
(
const FSmartName& NewCurve, |
Please use AddCurveData that takes a FName. | |
| void | AddFloatCurveKey
(
const FSmartName& NewCurve, |
Please use AddFloatCurveKey that takes a FName. | |
| bool | DeleteCurveData
(
const FSmartName& CurveToDelete, |
Please use DeleteCurveData that takes a FName. | |
| bool | DuplicateCurveData
(
const FSmartName& CurveToCopy, |
Please use DuplicateCurveData that takes FNames as curve parameters. | |
| FAnimCurveBase * | GetCurveData
(
SmartName::UID_Type Uid, |
Please use GetCurveData that takes an FName. | |
| const FAnimCurveBase * | GetCurveData
(
SmartName::UID_Type Uid, |
Please use GetCurveData that takes an FName. | |
| const FAnimCurveBase * | GetCurveData
(
FName Name, |
Please use GetCurveData that takes an FName. | |
| void | RefreshName
(
const FSmartNameMapping* NameMapping, |
This function is no longer used |