Instance Property

timeRange

The time range during which the instruction is effective.

Declaration

var timeRange: CMTimeRange { get }

Discussion

If the time range is invalid, the video compositor will ignore it. See also the requirements of the timeRange property in the array of objects implementing the AVVideoCompositionInstructionProtocol protocol as described in the AVVideoComposition class’s instructions property.

See Also

Getting Composition Instruction Properties

var backgroundColor: CGColor?

The background color of the composition.

var layerInstructions: [AVVideoCompositionLayerInstruction]

An array of video composition layer instruction instances of that specify how video frames from source tracks should be layered and composed.

var enablePostProcessing: Bool

A Boolean value that indicates whether post processing is required for the video composition instruction.

var passthroughTrackID: CMPersistentTrackID

The track identifier from an instruction source frame.

var requiredSourceTrackIDs: [NSValue]

An array of track identifiers required to compose frames for the instruction.