Share via


RenderStateManager.NormalizeNormals Property (Microsoft.DirectX.Direct3D)

Enables or disables automatic normalization of vertex normals.

Definition

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

Property Value

System.Boolean
Set to true to enable normalization of vertex normals, or false to disable it.

This property is read/write. 

Remarks

The default value is false.

Enabling this feature causes the system to normalize the vertex normals for vertices after transforming them to camera space, an operation that can slow down the system.