Upravit

Sdílet prostřednictvím


CMTime.FromSeconds(Double, Int32) Method

Definition

Creates a new instance of CMTime from a second and timescale description.

public static CoreMedia.CMTime FromSeconds (double seconds, int preferredTimeScale);
static member FromSeconds : double * int -> CoreMedia.CMTime

Parameters

seconds
Double
preferredTimeScale
Int32

Returns

The constructed CMTime.

Applies to