Compartilhar via


AVMutableVideoCompositionLayerInstruction.SetOpacityRamp Método

Definição

Cria uma rampa de opacidade no especificado 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

Parâmetros

startOpacity
Single
endOpacity
Single
timeRange
CMTimeRange
Atributos

Aplica-se a