IFrameProvider::GetFrameNumberForTimestamp

Gets the index of the first frame with start time <= specified time, for the specified frame type.

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

References

   
Module TraceServices
Header /Engine/Source/Developer/TraceServices/Public/TraceServices/Model/Frames.h
Include #include "TraceServices/Model/Frames.h"
uint32 GetFrameNumberForTimestamp
(
    ETraceFrameType FrameType,
    double Time
) const

Remarks

Gets the index of the first frame with start time <= specified time, for the specified frame type. Note: This function does not check the end time of frames. index of the first frame with start time <= time; also returns 0 when time < start time of the first frame or if frame count is zero

Parameters

Name Description
FrameType type of frames
Time time value, in seconds

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library