IAllocationsProvider::GetTimelineIndexRange

Returns the inclusive index range [StartIndex, EndIndex] for a time range [StartTime, EndTime].

Unreal Engine C++ API Reference > Developer > TraceServices > TraceServices > Model > IAllocationsProvider

References

   
Module TraceServices
Header /Engine/Source/Developer/TraceServices/Public/TraceServices/Model/AllocationsProvider.h
Include #include "TraceServices/Model/AllocationsProvider.h"
void GetTimelineIndexRange
(
    double StartTime,
    double EndTime,
    int32 & StartIndex,
    int32 & EndIndex
) const

Remarks

Returns the inclusive index range [StartIndex, EndIndex] for a time range [StartTime, EndTime]. Index values are in range { -1, 0, .. , N-1, N }, where N = GetTimelineNumPoints().


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library