frameDuration(_:)
Provides the native frame duration of the object to which the effect is applied.
Declaration
func frameDuration(_ duration: UnsafeMutablePointer<CMTime>!)Parameters
- duration:
The frame duration time, expressed in
CMTime.
Mentioned in
Discussion
Motion provides the frame duration of the project. Final Cut Pro provides the frame duration of the clip to which the effect is applied, not the frame duration for the timeline.
See Also
Accessing Timing Values
sampleDuration(_:)startTime(forEffect:)durationTime(forEffect:)startTimeOfInput(toFilter:)durationTimeOfInput(toFilter:)start(_:ofImageParameter:)durationTime(_:ofImageParameter:)inPointTimeOfTimeline(forEffect:)outPointTimeOfTimeline(forEffect:)timelineTime(_:fromInputTime:)timelineTime(_:fromImageTime:forParameterID:)inputTime(_:fromTimelineTime:)imageTime(_:forParameterID:fromTimelineTime:)fieldOrderForInput(toFilter:)timelineFpsNumerator(for:)