Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- FAnimCurveBase
- FTransformCurve
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimCurveTypes.h |
| Include | #include "Animation/AnimCurveTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FTransformCurve : public FAnimCurveBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVectorCurve | RotationCurve | Rotation curve - right now we use euler because quat also doesn't provide linear interpolation - curve editor can't handle quat interpolation If you hit gimbal lock, you should add extra key to fix it. | |
| FVectorCurve | ScaleCurve | ||
| FVectorCurve | TranslationCurve | Curve data for each transform. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FTransformCurve
(
FSmartName InName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyCurve
(
const FTransformCurve& SourceCurve |
We don't want to have = operator. This only copies curves, but leaving naming and everything else intact. | |
| FTransform | Evaluate
(
float CurrentTime, |
||
| void | GetKeys
(
TArray< float >& OutTimes, |
||
| const FVectorCurve * | GetVectorCurveByIndex
(
int32 Index |
||
| FVectorCurve * | GetVectorCurveByIndex
(
int32 Index |
||
| void | Resize
(
float NewLength, |
||
| void | UpdateOrAddKey
(
const FTransform& NewKey, |