RenderStateManager.LocalViewer Property

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.