Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/TimeStretchCurve.h |
| Include | #include "Animation/TimeStretchCurve.h" |
Syntax
struct FTimeStretchCurveInstance
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AreValidMarkerBookendsForPosition
(
float InPosition, |
Validates that the supplied marker positions bookend supplied position. | |
| int32 | BinarySearchMarkerIndex
(
float InPosition, |
Find marker index that bookends supplied position, using supplied markers, doing a binary search to find match. | |
| float | Clamp_P_Target
(
float In_P_Target |
Make sure In_P_Target stays in valid marker range. | |
| float | Convert_P_Original_To_Target
(
int32 InMarkerIndex, |
Converts a Position from Original Space to Target Space. | |
| float | Convert_P_Target_To_Original
(
int32 InMarkerIndex, |
Converts a Position from Target Space to Original Space. | |
| float | Get original play back duration | ||
| float | Get_T_Target () |
Get target play back duration | |
| const TArray< float > & | Read access to markers in original space. | ||
| const TArray< float > & | Read access to markers in target space. | ||
| bool | HasValidData () |
||
| void | InitializeFromPlayRate
(
float InPlayRate, |
||
| bool | IsValidMarkerForPosition
(
int32 InMarkerIndex, |
Validates that the supplied marker index correctly bookends supplied position. | |
| void | UpdateMarkerIndexForPosition
(
int32& InOutMarkerIndex, |
Updates InOutMarkerIndex as needed based on 'InPosition' in 'InMarkerPositions' So that InOutMarkerIndex satisfies 'IsValidMarkerForPosition' |