AGI STK Graphics 11 Send comments on this topic.
UsePerPixelLighting Property (IAgStkGraphicsGlobeOverlaySettings)
See Also 





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

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1