Editar

Compartir a través de


AVMutableCompositionTrack.ScaleTimeRange(CMTimeRange, CMTime) Method

Definition

Stretches or shrinks the specified timeRange to match the specified duration.

[Foundation.Export("scaleTimeRange:toDuration:")]
public virtual void ScaleTimeRange (CoreMedia.CMTimeRange timeRange, CoreMedia.CMTime duration);
abstract member ScaleTimeRange : CoreMedia.CMTimeRange * CoreMedia.CMTime -> unit
override this.ScaleTimeRange : CoreMedia.CMTimeRange * CoreMedia.CMTime -> unit

Parameters

timeRange
CMTimeRange
duration
CMTime
Attributes

Applies to