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

Function ConvertTime

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

Source from the content-addressed store, hash-verified

28 Array<VideoBackendPlayer*> Players;
29
30 TimeSpan ConvertTime(const CMTime& t)
31 {
32 return TimeSpan::FromSeconds(t.timescale != 0 ? (t.value / (double)t.timescale) : 0.0);
33 }
34
35 CMTime ConvertTime(const TimeSpan& t)
36 {

Callers 2

VideoBackendAV.cppFile · 0.70
Player_GetTimeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected