Click or drag to resize
VectorExtensionsToVector3F Method
Returns the 3D representation of this 2D vector and z coordinate.

Namespace: Slash.Math.Algebra.Vectors
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static Vector3F ToVector3F(
	this Vector2F vector,
	float z
)

Parameters

vector
Type: Slash.Math.Algebra.VectorsVector2F
Vector to get the 3D representation of.
z
Type: SystemSingle
z-coordinate of the 3D representation of the vector.

Return Value

Type: Vector3F
3D vector of this vector.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Vector2F. 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