Version: 2019.2

MediaRational

struct in UnityEditor.Media

Switch to Manual

Description

Rational number useful for expressing fractions precisely.

Variables

denominatorFraction denominator.
numeratorFraction numerator.

Constructors

MediaRationalConstructs a rational number. The version that omits the denominator sets it to 1.