Sdílet prostřednictvím


Vector2.UnitX Property

Returns the unit vector for the x-axis.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static Vector2 UnitX { get; }

Property Value

The unit vector for the x-axis.

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone