 | Vector2FTruncate Method |
Changes the magnitude of this vector to the passed value.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic Vector2F Truncate(
float length
)
Public Function Truncate (
length As Single
) As Vector2F
public:
Vector2F Truncate(
float length
)
member Truncate :
length : float32 -> Vector2F
Parameters
- length
- Type: SystemSingle
New magnitude.
Return Value
Type:
Vector2FVector with the same orientation as this one, and the specified length.
See Also