Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAnimationRuntime > API/Runtime/Engine/FAnimationRuntime/GetKeyIndicesFromTime
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/AnimationRuntime.h |
| Include | #include "AnimationRuntime.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp |
static void GetKeyIndicesFromTime
&40;
int32 & OutKeyIndex1,
int32 & OutKeyIndex2,
float & OutAlpha,
const double Time,
const FFrameRate & FrameRate,
const int32 NumberOfKeys
&41;
Remarks
Get KeyIndices using FFrameRate::AsFrameTime to calculate the keys and alpha value