TimingRange01


Declaration

[Serializable]
public struct TimingRange01

Description

An animation timing range normalized between 0 and 1.

Properties

minThe lower bound of the timing range, between 0 and 1.
maxThe upper bound of the timing range, between 0 and 1.

Constructors

TimingRange01Creates a new timing range with the specified values.

Methods

RandomReturns a random time within the min and max time.
IncludesChecks if a time is within the min and max time.