Sdílet prostřednictvím


RenderState.PointSize Property

Gets or sets the size to use for point size computation in cases where point size is not specified for each vertex. The default value is the value a driver returns. If a driver returns 0 or 1, the default value is 64, which allows software point size emulation.

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

Syntax

public float PointSize { get; set; }

Property Value

This value is in world space units.

See Also

Tasks

How to: Draw Point Sprites

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista