One Logo Pool Ball
AVFoundation · IOS API REFERENCE

AVMutableVideoCompositionLayerInstruction

class · iOS 4.0+ · Deprecated in iOS 26.0 · SDK 27.1

class AVMutableVideoCompositionLayerInstruction

Members (9)

init · iOS 4.0+ · Deprecated in iOS 26.0

init

TypeScript
static init(track: AVAssetTrack): AVMutableVideoCompositionLayerInstruction
Swift declaration
convenience init(assetTrack track: AVAssetTrack)
method · iOS 7.0+ · Deprecated in iOS 26.0

setCropRectangle

TypeScript
setCropRectangle(cropRectangle: { x: number; y: number; width: number; height: number }, time: _CoreMedia_CMTime): void
Swift declaration
func setCropRectangle(_ cropRectangle: CGRect, at time: CMTime)
method · iOS 7.0+ · Deprecated in iOS 26.0

setCropRectangleRamp

TypeScript
setCropRectangleRamp(startCropRectangle: { x: number; y: number; width: number; height: number }, endCropRectangle: { x: number; y: number; width: number; height: number }, timeRange: _CoreMedia_CMTimeRange): void
Swift declaration
func setCropRectangleRamp(fromStartCropRectangle startCropRectangle: CGRect, toEndCropRectangle endCropRectangle: CGRect, timeRange: CMTimeRange)
method · iOS 4.0+ · Deprecated in iOS 26.0

setOpacity

TypeScript
setOpacity(opacity: number, time: _CoreMedia_CMTime): void
Swift declaration
func setOpacity(_ opacity: Float, at time: CMTime)
method · iOS 4.0+ · Deprecated in iOS 26.0

setOpacityRamp

TypeScript
setOpacityRamp(startOpacity: number, endOpacity: number, timeRange: _CoreMedia_CMTimeRange): void
Swift declaration
func setOpacityRamp(fromStartOpacity startOpacity: Float, toEndOpacity endOpacity: Float, timeRange: CMTimeRange)
method · iOS 4.0+ · Deprecated in iOS 26.0

setTransform

TypeScript
setTransform(transform: _CoreFoundation_CGAffineTransform, time: _CoreMedia_CMTime): void
Swift declaration
func setTransform(_ transform: CGAffineTransform, at time: CMTime)
method · iOS 4.0+ · Deprecated in iOS 26.0

setTransformRamp

TypeScript
setTransformRamp(startTransform: _CoreFoundation_CGAffineTransform, endTransform: _CoreFoundation_CGAffineTransform, timeRange: _CoreMedia_CMTimeRange): void
Swift declaration
func setTransformRamp(fromStart startTransform: CGAffineTransform, toEnd endTransform: CGAffineTransform, timeRange: CMTimeRange)
get · iOS 4.0+ · Deprecated in iOS 26.0

trackID

TypeScript
get trackID(): number
Swift declaration
var trackID: CMPersistentTrackID { get set }
set · iOS 4.0+ · Deprecated in iOS 26.0

trackID

TypeScript
set trackID(value: number)
Swift declaration
var trackID: CMPersistentTrackID { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVMutableVideoCompositionLayerInstruction.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All AVFoundation types →