Returns the vector with a maximum length by limiting its length to `length`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector2 Clamped(
float length
)
Parameters
- length
- Type: SystemSingle
The length to limit to.
Return Value
Type:
Vector2The vector with its length limited.
See Also