ConformRate

public struct ConformRate : XMLRepresentable

Used to indicate rate conforming. When the timeline frame rate and the media frame rate are certain combinations, Final Cut Pro X automatically applies rate conforming by converting the media frame rate to match the timeline frame rate. As a result, the duration is also adjusted.

  • A Boolean value that indicates whether scaling is enabled.

    Declaration

    Swift

    public var isScaleEnabled: Bool
  • The source frame rate of the rate conform.

    Declaration

    Swift

    public var sourceFrameRate: FrameRate?
  • The frame sampling method of the rate conform.

    Declaration

    Swift

    public var frameSampling: FrameSampling
  • Initializes a new conform rate.

    Declaration

    Swift

    public init(sourceFrameRate: FrameRate? = nil, frameSampling: FrameSampling = .floor)

    Parameters

    sourceFrameRate

    The source frame rate of the rate conform.

    frameSampling

    The frame sampling method of the rate conform.