Clamp(DiscreteTime)
Limits a time value to the interval.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public DiscreteTime Clamp(DiscreteTime time)
Parameters
The time value to limit to the interval.
Returns
Type | Description |
|---|---|
| DiscreteTime | DiscreteTimeInterval.Start if |