insertTimeRange(_:of:at:)
Inserts a timeRange of Cinematic source asset into the corresponding tracks of a composition.
Declaration
func insertTimeRange(_ timeRange: CMTimeRange, of cinematicAssetInfo: CNAssetInfo, at startTime: CMTime) throwsParameters
- timeRange:
The time range where to insert the Cinematic source asset.
- cinematicAssetInfo:
The asset to insert.
- startTime:
The starting time where to insert the corresponding tracks of the composition.