 | VectorExtensionsToVector3F Method |
Returns the 3D representation of this 2D vector and z coordinate.
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static Vector3F ToVector3F(
this Vector2F vector,
float z
)
<ExtensionAttribute>
Public Shared Function ToVector3F (
vector As Vector2F,
z As Single
) As Vector3F
public:
[ExtensionAttribute]
static Vector3F ToVector3F(
Vector2F vector,
float z
)
[<ExtensionAttribute>]
static member ToVector3F :
vector : Vector2F *
z : float32 -> Vector3F
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:
Vector3F3D 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