Timing01


Declaration

[Serializable]
public struct Timing01

Description

The start and end time of an animation normalized between 0 and 1.

Properties

startThe start time of the animation, between 0 and 1.
endThe end time of the animation, between 0 and 1.

Constructors

Timing01Creates a new timing with the specified values.

Methods

RandomReturns a random time within the start and end time.
IncludesChecks if a time is within the start and end time.