Description
Gets or sets whether per-pixel lighting is used for terrain and imagery. When set to true, per-pixel lighting is used for the best visual quality; when set to false, per vertex-lighting is used, which may provide better performance on older GPUs, but worse visual quality. The default value is true.
Property type
Read-write property
Syntax
| [Visual Basic .NET] |
|---|
Public Property UsePerPixelLighting() As Boolean
|
| [C#] |
|---|
public bool UsePerPixelLighting {get; set;}
|
| [Managed C++] |
|---|
public: __property bool get_UsePerPixelLighting(); public: __property void set_UsePerPixelLighting( bool );
|
| [Unmanaged C++] |
|---|
public: HRESULT get_UsePerPixelLighting( VARIANT_BOOL * pRetVal ); public: HRESULT put_UsePerPixelLighting( VARIANT_BOOL NewUsePerPixelLighting );
|
| [Java] |
|---|
public bool getUsePerPixelLighting();public void setUsePerPixelLighting( bool );
|
See Also