Share via


RenderStateManager.PointScaleEnable Property (Microsoft.DirectX.Direct3D)

Controls how the computation of size for point sprites is handled.

Definition

Visual Basic Public Property PointScaleEnable As Boolean
C# public bool PointScaleEnable { get; set; }
C++ public:
property bool PointScaleEnable {
        bool get();
        void set(bool value);
}
JScript public function get PointScaleEnable() : boolean
public function set PointScaleEnable(boolean);

Property Value

System.Boolean
When set to true, the point size is interpreted as a camera space value. To compute the final screen-space point size, it is scaled by the distance function and the frustum to viewport y-axis scaling. When set to false, the point size is interpreted as screen space and used directly.

This property is read/write. 

Remarks

The default value is false.