Raw Curve data for serialization 更多...
#include <AnimCurveTypes.h>
Public 成员函数 | |
| ENGINE_API bool | AddCurveData (const FSmartName &NewCurve, int32 CurveFlags=AACF_DefaultCurve, ERawCurveTrackTypes SupportedCurveType=ERawCurveTrackTypes::RCT_Float) |
| Add new curve from the provided UID and return true if success bVectorInterpCurve == true, then it will create FVectorCuve, otherwise, FFloatCurve | |
| ENGINE_API void | DeleteAllCurveData (ERawCurveTrackTypes SupportedCurveType=ERawCurveTrackTypes::RCT_Float) |
| Delete all curve data | |
| ENGINE_API bool | DeleteCurveData (const FSmartName &CurveToDelete, ERawCurveTrackTypes SupportedCurveType=ERawCurveTrackTypes::RCT_Float) |
| Delete curve data | |
| ENGINE_API bool | DuplicateCurveData (const FSmartName &CurveToCopy, const FSmartName &NewCurve, ERawCurveTrackTypes SupportedCurveType=ERawCurveTrackTypes::RCT_Float) |
| Duplicate curve data 更多... | |
| void | Empty () |
| Clear all keys | |
| void | EvaluateCurveData (FBlendedCurve &Curves, float CurrentTime) const |
| Evaluate curve data at the time CurrentTime, and add to Instance. 更多... | |
| ENGINE_API FAnimCurveBase * | GetCurveData (USkeleton::AnimCurveUID Uid, ERawCurveTrackTypes SupportedCurveType=ERawCurveTrackTypes::RCT_Float) |
| Find curve data based on the curve UID | |
| ENGINE_API const FAnimCurveBase * | GetCurveData (USkeleton::AnimCurveUID Uid, ERawCurveTrackTypes SupportedCurveType=ERawCurveTrackTypes::RCT_Float) const |
| Find curve data based on the curve UID | |
| void | PostSerialize (FArchive &Ar) |
| Serialize | |
| ENGINE_API void | RefreshName (const FSmartNameMapping *NameMapping, ERawCurveTrackTypes SupportedCurveType=ERawCurveTrackTypes::RCT_Float) |
| Updates the DisplayName field of the curves from the provided name container | |
Raw Curve data for serialization
| ENGINE_API bool FRawCurveTracks::DuplicateCurveData | ( | const FSmartName & | CurveToCopy, |
| const FSmartName & | NewCurve, | ||
| ERawCurveTrackTypes | SupportedCurveType = ERawCurveTrackTypes::RCT_Float |
||
| ) |
Duplicate curve data
| void FRawCurveTracks::EvaluateCurveData | ( | FBlendedCurve & | Curves, |
| float | CurrentTime | ||
| ) | const |
Evaluate curve data at the time CurrentTime, and add to Instance.
It only evaluates Float Curve for now
return true if curve exists, false otherwise