MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / currentTimecode

Method currentTimecode

source/frontend/StarCinematic.cpp:339–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339float Cinematic::currentTimecode() const {
340 return std::min((float)m_timer.time() - m_backgroundFadeTime, m_completionTime - 2 * m_backgroundFadeTime);
341}
342
343Cinematic::PanelValues Cinematic::determinePanelValues(PanelPtr panel, float timecode) {
344 if (panel->endTime != 0) {

Callers

nothing calls this directly

Calls 1

timeMethod · 0.45

Tested by

no test coverage detected