User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.igis_viewer3d.showlights

Table of Contents

IGIS_Viewer3D.ShowLights property

DK for ActiveX | TatukGIS_XDK11.IGIS_Viewer3D.ShowLights | Methods | Properties

Turns scene lighting on or off. The default is off, which means perfectly diffused light; when on, scene lights such as the sun are used.

Available also on: Python.

Syntax

// C#
public Boolean ShowLights
{
  get {}
  set {}
}
' VisualBasic
Public Property ShowLights As Boolean
  Get
  End Get
  Set(ByVal value As Boolean)
  End Set
End Property
// Oxygene
public
  property ShowLights : Boolean read read;

Value

Type
bool
Boolean

Remarks

USAGE: Enable/disable realistic lighting with sun and shadow. When off, uses uniform diffuse. When on, applies sun position for directional shadows.

viewer3d.ShowLights = true       # Enable sun-based lighting and shadows

2026/09/20 22:44

Page Tools