timelineFpsNumerator(for:)
The numerator of the timeline’s frame rate where the user applies the effect.
Declaration
func timelineFpsNumerator(for effect: (any FxTileableEffect)!) -> IntParameters
- effect:
The plug-in object.
Mentioned in
Return Value
The numerator of the frame rate.
Discussion
You can use the numerator value with the companion denominator value to determine frames per second, or frame duration, of the timeline. For example, for 29.97 fps timelines, you might see values such as 30000 for the numerator, and 1001 for the denominator. For more information about how to handle time calculations, see Retiming and frame duration.
See Also
Accessing Timing Values
frameDuration(_:)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:)