Width Property
Collapse the table of content
Expand the table of content

Texture2D.Width Property

Gets the width of this texture resource, in pixels.

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

public int Width { get; }

Property Value

The width of this texture resource, in pixels.

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2016 Microsoft