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 |
const uint32 FindSampleIndexFromTime
&40;
const float Time,
const bool bLooping
&41; const
Remarks
FindSampleIndexFromTime uses binary search to find the closest index to Time inside Samples const uint32
Parameters
| Name | Description |
|---|---|
| Time | Time for which the closest index has to be found |
| bLooping | Whether or not we should fmod Time according to the last entry in SampleTimes |