Navigation
API > API/Runtime > API/Runtime/Engine
Raw Curve data for serialization
| Name | FRawCurveTracks |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimCurveTypes.h |
| Include Path | #include "Animation/AnimCurveTypes.h" |
Syntax
USTRUCT ()
struct FRawCurveTracks
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FloatCurves | TArray< FFloatCurve > | Animation/AnimCurveTypes.h | ||
| TransformCurves | TArray< FTransformCurve > | : TransformCurves are used to edit additive animation in editor. | Animation/AnimCurveTypes.h | |
| VectorCurves | TArray< FVectorCurve > | : 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. | Animation/AnimCurveTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 | Animation/AnimCurveTypes.h | |
bool AddCurveData
(
const FSmartName& NewCurve, |
Animation/AnimCurveTypes.h | ||
void AddFloatCurveKey
(
const FName& NewCurve, |
Add new float curve from the given UID if not existing and add the key with time/value | Animation/AnimCurveTypes.h | |
void AddFloatCurveKey
(
const FSmartName& NewCurve, |
Animation/AnimCurveTypes.h | ||
void DeleteAllCurveData
(
ERawCurveTrackTypes SupportedCurveType |
Delete all curve data | Animation/AnimCurveTypes.h | |
bool DeleteCurveData
(
const FSmartName& CurveToDelete, |
Animation/AnimCurveTypes.h | ||
bool DeleteCurveData
(
const FName& CurveToDelete, |
Delete curve data | Animation/AnimCurveTypes.h | |
bool DuplicateCurveData
(
const FSmartName& CurveToCopy, |
Animation/AnimCurveTypes.h | ||
bool DuplicateCurveData
(
const FName& CurveToCopy, |
Duplicate curve data | Animation/AnimCurveTypes.h | |
void Empty() |
Clear all keys | Animation/AnimCurveTypes.h | |
void EvaluateCurveData
(
FBlendedCurve& Curves, |
Evaluate curve data at the time CurrentTime, and add to Instance. | Animation/AnimCurveTypes.h | |
void EvaluateTransformCurveData
(
USkeleton* Skeleton, |
Evaluate transform curves | Animation/AnimCurveTypes.h | |
FAnimCurveBase * GetCurveData
(
SmartName::UID_Type Uid, |
Find curve data based on the curve UID | Animation/AnimCurveTypes.h | |
const FAnimCurveBase * GetCurveData
(
SmartName::UID_Type Uid, |
Animation/AnimCurveTypes.h | ||
FAnimCurveBase * GetCurveData
(
FName Name, |
Find curve data based on the curve name | Animation/AnimCurveTypes.h | |
const FAnimCurveBase * GetCurveData
(
FName Name, |
Animation/AnimCurveTypes.h | ||
void PostSerializeFixup
(
FArchive& Ar |
This allows loading data that was saved between VER_UE4_SKELETON_ADD_SMARTNAMES and FFrameworkObjectVersion::SmartNameRefactor. | Animation/AnimCurveTypes.h | |
void RefreshName
(
const FSmartNameMapping* NameMapping, |
Animation/AnimCurveTypes.h | ||
void RemoveRedundantKeys
(
float Tolerance, |
Animation/AnimCurveTypes.h | ||
void Reset() |
Clear all keys preserving allocations | Animation/AnimCurveTypes.h | |
void Resize
(
float TotalLength, |
Resize curve length. | Animation/AnimCurveTypes.h |