Edit

Share via


AVMutableVideoCompositionLayerInstruction.SetOpacityRamp Method

Definition

Creates an opacity ramp in the specified timeRange.

[Foundation.Export("setOpacityRampFromStartOpacity:toEndOpacity:timeRange:")]
public virtual void SetOpacityRamp (float startOpacity, float endOpacity, CoreMedia.CMTimeRange timeRange);
abstract member SetOpacityRamp : single * single * CoreMedia.CMTimeRange -> unit
override this.SetOpacityRamp : single * single * CoreMedia.CMTimeRange -> unit

Parameters

startOpacity
Single
endOpacity
Single
timeRange
CMTimeRange
Attributes

Applies to