Vector2.ClampMagnitude

Calculates a vector with its magnitude clamped to MaxLength.

Vector2.ClampMagnitude

Property

Vector 2 Vector
Max Length Max length
Result Output result