|
ExtensionsToVector2 Method |
Converts WPF Point to SharpDX Vector2
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public static Vector2 ToVector2(
this Point point
)
Parameters
- point Point
- WPF Point
Return Value
Vector2SharpDX Vector2
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Point. 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