* Convert frames to seconds using the current framerate. * * @param frames - The frames to convert.
(frames: number)
| 21 | * @param frames - The frames to convert. |
| 22 | */ |
| 23 | public framesToSeconds(frames: number) { |
| 24 | return frames / this.playback.fps; |
| 25 | } |
| 26 | |
| 27 | public get time(): number { |
| 28 | return this.framesToSeconds(this.playback.frame); |
no outgoing calls
no test coverage detected