Contents

timelineFpsNumerator(for:)

The numerator of the timeline’s frame rate where the user applies the effect.

Declaration

func timelineFpsNumerator(for effect: (any FxTileableEffect)!) -> Int

Parameters

  • 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