편집

다음을 통해 공유


AVMutableComposition.ScaleTimeRange(CMTimeRange, CMTime) Method

Definition

Stretches or shrinks the specified timeRange portion of all tracks in the composition to have 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