Share via


RenderState.PointSpriteEnable Property

Enables or disables full texture mapping on each point. The default is false.

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

Syntax

public bool PointSpriteEnable { get; set; }

Property Value

true to set texture coordinates of point primitives so that full textures are mapped on each point; false otherwise. When false, the vertex texture coordinates are used for the entire point.

See Also

Tasks

How to: Draw Point Sprites

Reference

RenderState Class
RenderState Members
PointSize
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista