iOS reference / AVFoundation / AVVideoCompositionLayerInstructionAVFoundation · IOS API REFERENCE
AVVideoCompositionLayerInstruction class · iOS 4.0+ · SDK 27.1
class AVVideoCompositionLayerInstructionMembers (8) method · iOS 7.0+ getCropRectangleRamp TypeScript getCropRectangleRamp(time: _CoreMedia_CMTime, startCropRectangle?: ("animatableData" | SDKHandle) | null, endCropRectangle?: ("animatableData" | SDKHandle) | null, timeRange?: (SDKHandle) | null): booleanSwift declaration func getCropRectangleRamp(for time: CMTime, startCropRectangle: UnsafeMutablePointer<CGRect>?, endCropRectangle: UnsafeMutablePointer<CGRect>?, timeRange: UnsafeMutablePointer<CMTimeRange>?) -> Boolmethod · iOS 4.0+ getOpacityRamp TypeScript getOpacityRamp(time: _CoreMedia_CMTime, startOpacity?: (SDKHandle) | null, endOpacity?: (SDKHandle) | null, timeRange?: (SDKHandle) | null): booleanSwift declaration func getOpacityRamp(for time: CMTime, startOpacity: UnsafeMutablePointer<Float>?, endOpacity: UnsafeMutablePointer<Float>?, timeRange: UnsafeMutablePointer<CMTimeRange>?) -> Boolmethod · iOS 4.0+ getTransformRamp TypeScript getTransformRamp(time: _CoreMedia_CMTime, startTransform?: (SDKHandle) | null, endTransform?: (SDKHandle) | null, timeRange?: (SDKHandle) | null): booleanSwift declaration func getTransformRamp(for time: CMTime, start startTransform: UnsafeMutablePointer<CGAffineTransform>?, end endTransform: UnsafeMutablePointer<CGAffineTransform>?, timeRange: UnsafeMutablePointer<CMTimeRange>?) -> Boolget · iOS 4.0+ trackID TypeScript get trackID(): numberSwift declaration var trackID: CMPersistentTrackID { get }method · iOS 26.0+ opacityRamp TypeScript opacityRamp(time: _CoreMedia_CMTime): (AVVideoCompositionLayerInstruction_OpacityRamp) | nullSwift declaration func opacityRamp(at time: CMTime) -> AVVideoCompositionLayerInstruction.OpacityRamp?Obtains the opacity ramp that includes a specified time.
init · iOS 26.0+ init TypeScript static init(configuration: AVVideoCompositionLayerInstruction_Configuration): AVVideoCompositionLayerInstructionSwift declaration convenience init(configuration: AVVideoCompositionLayerInstruction.Configuration)Initialize an AVVideoCompositionLayerInstruction with a configuration.
- Parameter configuration: contains the property values for a new AVVideoCompositionLayerInstruction.
method · iOS 26.0+ transformRamp TypeScript transformRamp(time: _CoreMedia_CMTime): (AVVideoCompositionLayerInstruction_TransformRamp) | nullSwift declaration func transformRamp(at time: CMTime) -> AVVideoCompositionLayerInstruction.TransformRamp?Obtains the transform ramp that includes a specified time.
method · iOS 26.0+ cropRectangleRamp TypeScript cropRectangleRamp(time: _CoreMedia_CMTime): (AVVideoCompositionLayerInstruction_CropRectangleRamp) | nullSwift declaration func cropRectangleRamp(at time: CMTime) -> AVVideoCompositionLayerInstruction.CropRectangleRamp?Obtains the crop rectangle ramp that includes the specified time.
Skipped declarations 1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVVideoCompositionLayerInstruction.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All AVFoundation types →