Navigation
API > API/Runtime > API/Runtime/Engine
Float curve data for one track
| Name | FAnimCurveBase |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimCurveTypes.h |
| Include Path | #include "Animation/AnimCurveTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FAnimCurveBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Animation/AnimCurveTypes.h | |||
FAnimCurveBase
(
FName InName, |
Animation/AnimCurveTypes.h | ||
FAnimCurveBase
(
FSmartName InName, |
Animation/AnimCurveTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Color | FLinearColor | Animation/AnimCurveTypes.h | ||
| Comment | FString | Animation/AnimCurveTypes.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurveName | FName | Animation/AnimCurveTypes.h | ||
| CurveTypeFlags | int32 | This flag is mostly used by editor only now however I can't remove this to editor only because we need DEPRECATED Flag to be loaded in game because those data are stored in asset, and skeleton might not be saved with it. | Animation/AnimCurveTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLinearColor GetColor() |
Get the color used to display this curve in the editor | Animation/AnimCurveTypes.h | |
bool GetCurveTypeFlag
(
EAnimAssetCurveFlags InFlag |
Return true if InFlag is set, false otherwise | Animation/AnimCurveTypes.h | |
int32 GetCurveTypeFlags() |
Returns CurveTypeFlags | Animation/AnimCurveTypes.h | |
FName GetName() |
Get the name of this curve | Animation/AnimCurveTypes.h | |
void PostSerialize
(
const FArchive& Ar |
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 | |
bool Serialize
(
FArchive& Ar |
Animation/AnimCurveTypes.h | ||
void SetCurveTypeFlag
(
EAnimAssetCurveFlags InFlag, |
Set InFlag to bValue | Animation/AnimCurveTypes.h | |
void SetCurveTypeFlags
(
int32 NewCurveTypeFlags |
Set CurveTypeFlags to NewCurveTypeFlags This just overwrites CurveTypeFlags | Animation/AnimCurveTypes.h | |
void SetName
(
FName InName |
Set the name of this curve | Animation/AnimCurveTypes.h | |
void ToggleCurveTypeFlag
(
EAnimAssetCurveFlags InFlag |
Toggle the value of the specified flag | Animation/AnimCurveTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FLinearColor MakeColor
(
const FName& CurveName |
Make an initial color | Animation/AnimCurveTypes.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LastObservedName_DEPRECATED | FName | Animation/AnimCurveTypes.h | ||
| Name_DEPRECATED | FSmartName | Animation/AnimCurveTypes.h |