Property MaxSpeed
MaxSpeed
The maxSpeed speed (in Unity units/second) that the Spline traversal will advance in.
Declaration
public float MaxSpeed { get; set; }
Property Value
Type | Description |
---|---|
float |
Remarks
If SplineAnimate.EasingMode is to None then the Spline will be traversed at MaxSpeed throughout its length. Otherwise, the traversal speed will range from 0 to MaxSpeed throughout the Spline's length depending on the easing mode set. When animation method is set to Speed this setter will set the MaxSpeed value and automatically recalculate Duration, otherwise, it will have no effect.