Click or drag to resize
Vector2FLimit Method
Creates a new vector which is limited to the specified length. If the vector is longer it is truncated, otherwise it stays the same.

Namespace: Slash.Math.Algebra.Vectors
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public Vector2F Limit(
	float limit
)

Parameters

limit
Type: SystemSingle
Maximum magnitude.

Return Value

Type: Vector2F
Vector with the same orientation as this vector, limited to the specified length.
See Also