Navigation
API > API/Plugins > API/Plugins/GeometryCache > API/Plugins/GeometryCache/UGeometryCacheTrackStreamable
References
| Module | GeometryCache |
| Header | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Classes/GeometryCacheTrackStreamable.h |
| Include | #include "GeometryCacheTrackStreamable.h" |
| Source | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Private/GeometryCacheTrackStreamable.cpp |
void FindSampleIndexesFromTime
&40;
float Time,
bool bLooping,
bool bIsPlayingBackwards,
int32 & OutFrameIndex,
int32 & OutNextFrameIndex,
float & InterpolationFactor
&41;
Remarks
Find the two frames closest to the given time. InterpolationFactor gives the position of the requested time slot between the two returned frames. 0.0 => We are very close to OutFrameIndex 1.0 => We are very close to OutNextFrameIndex If bIsPlayingBackwards it will return exactly the same indexes but in the reversed order. The InterpolationFactor will also be updated accordingly