Share via


RenderStateManager.LocalViewer Property (Microsoft.DirectX.Direct3D)

Specifies whether to use camera-relative specular highlights or orthogonal specular highlights.

Definition

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

Property Value

System.Boolean
Set to true to enable camera-relative specular highlights, or false to use orthogonal specular highlights.

This property is read/write. 

Remarks

The default value is true.

Applications that use orthogonal projection should specify false.