 | VectorExtensionsToVector2F Method (Vector3F) |
Returns the 2D representation of this 3D vector (i.e. x and y coordinates).
Namespace: Slash.Math.Algebra.VectorsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static Vector2F ToVector2F(
this Vector3F vector
)
<ExtensionAttribute>
Public Shared Function ToVector2F (
vector As Vector3F
) As Vector2F
public:
[ExtensionAttribute]
static Vector2F ToVector2F(
Vector3F vector
)
[<ExtensionAttribute>]
static member ToVector2F :
vector : Vector3F -> Vector2F
Parameters
- vector
- Type: Slash.Math.Algebra.VectorsVector3F
Vector to get the 2D representation of.
Return Value
Type:
Vector2F2D 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
Vector3F. 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