Contents

sampleDuration(_:)

Provides the native sample duration of the object to which the effect is applied.

Declaration

func sampleDuration(_ duration: UnsafeMutablePointer<CMTime>!)

Parameters

  • duration:

    The sample duration time, expressed in CMTime.

Mentioned in

Discussion

Motion provides the sample duration of the project. Final Cut Pro provides the sample duration of the clip to which the effect is applied, not the sample duration for the timeline.

See Also

Accessing Timing Values