init(id:time:duration:offset:)
Creates a command instance for a certain time, duration and offset.
Declaration
init(id: Int, time: CMTime, duration: CMTime, offset: CMTime? = nil)Parameters
- id:
The unique ID of this command.
- time:
The time for this command to start during playback.
- duration:
The duration of this command during playback.
- offset:
The offset from the start time of this command.