MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Player_GetTime

Method Player_GetTime

Source/Engine/Video/AV/VideoBackendAV.cpp:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262TimeSpan VideoBackendAV::Player_GetTime(const VideoBackendPlayer& player)
263{
264 PROFILE_CPU();
265 auto& playerAV = player.GetBackendState<VideoPlayerAV>();
266 if (playerAV.PendingSeek)
267 return playerAV.SeekTime;
268 return AV::ConvertTime([playerAV.Player currentTime]);
269}
270
271const Char* VideoBackendAV::Base_Name()
272{

Callers

nothing calls this directly

Calls 1

ConvertTimeFunction · 0.70

Tested by

no test coverage detected