Click or drag to resize
VectorExtensionsToVector2F Method (Vector2I)
Converts a integer vector to a float vector.

Namespace: Slash.Math.Algebra.Vectors
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static Vector2F ToVector2F(
	this Vector2I vector
)

Parameters

vector
Type: Slash.Math.Algebra.VectorsVector2I
Vector to convert.

Return Value

Type: Vector2F
Float vector which represents the specified integer vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector2I. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also