Vector2.UnitX Property (Microsoft.Xna.Framework)

Returns a Vector2 with components 1, 0.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public static Vector2 UnitX { get; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: Microsoft.Xna.Framework.Vector2
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web