AVVideoCompositionLayerInstruction
An object used to modify the transform, cropping, and opacity ramps applied to a given track in a composition.
Declaration
class AVVideoCompositionLayerInstructionTopics
Creating a layer instruction
Getting the track ID
Getting opacity, transform, and cropping ramps
cropRectangleRamp(at:)AVVideoCompositionLayerInstruction.CropRectangleRampgetCropRectangleRamp(for:startCropRectangle:endCropRectangle:timeRange:)opacityRamp(at:)AVVideoCompositionLayerInstruction.OpacityRampgetOpacityRamp(for:startOpacity:endOpacity:timeRange:)transformRamp(at:)AVVideoCompositionLayerInstruction.TransformRampgetTransformRamp(for:start:end:timeRange:)