Vector2.One Property (Microsoft.Xna.Framework)

Returns a Vector2 with components 1, 1.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.270)
  • C#
  • VB
  • F#
public static Vector2 One { 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