Click or drag to resize
Vector2FTruncate Method
Changes the magnitude of this vector to the passed value.

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

Parameters

length
Type: SystemSingle
New magnitude.

Return Value

Type: Vector2F
Vector with the same orientation as this one, and the specified length.
See Also