This version of Unity is unsupported.

RationalTime.DiscreteTime

Parameters

t The RationalTime parameter.

Description

Converts a RationalTime to DiscreteTime representation. If the rate denominator is 1 and the DiscreteTime.TicksPerSecond is a multiple of the numerator, this conversion is lossless.