AVMutableComposition.ScaleTimeRange(CMTimeRange, CMTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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