getPositionSeconds
Definition
-- @/lua/ge/extensions/core/replay.lua:61
local function getPositionSeconds()
return M.state.positionSeconds
end
Callers
@/lua/ge/extensions/core/cameraModes/path.lua
if path.replay then
self.camT = core_replay.getPositionSeconds()
if self.camT > markers[#markers].time then
@/lua/ge/extensions/editor/camPathEditor.lua
if linkedReplay then
camTs[i] = core_replay.getPositionSeconds()
if camTs[i] < markers[1].time then
if linkReplay[0] and (core_replay.getState() == 'playback') then
marker.time = core_replay.getPositionSeconds()
if #M.currentPath.markers > 0 and marker.time == M.currentPath.markers[#M.currentPath.markers].time then
im.PushItemWidth(im.GetContentRegionAvailWidth())
local relativePos = im.FloatPtr(core_replay.getPositionSeconds())
local maxSecs = core_replay.getTotalSeconds()