Upravit

Sdílet prostřednictvím


AVVideoCompositionLayerInstruction.GetOpacityRamp Method

Definition

Gets the opacity ramp that includes the specified time.

[Foundation.Export("getOpacityRampForTime:startOpacity:endOpacity:timeRange:")]
public virtual bool GetOpacityRamp (CoreMedia.CMTime time, ref float startOpacity, ref float endOpacity, ref CoreMedia.CMTimeRange timeRange);
abstract member GetOpacityRamp : CoreMedia.CMTime *  *  *  -> bool
override this.GetOpacityRamp : CoreMedia.CMTime *  *  *  -> bool

Parameters

time
CMTime
startOpacity
Single
endOpacity
Single
timeRange
CMTimeRange

Returns

Attributes

Applies to