IScene3DLighting.UseLighting

Syntax

UseLighting: Boolean;

Description

The UseLighting property determines the use of 3D scene lighting.

Comments

If this property is set to True, scene lighting is used; if the property is set to False, it is not used.

The property is set to True by default.

Example

This example assumes that there is the S object of the IScene3D type.

Sub Chart3D;

Var

s : IScene3D;

Begin

s.SceneView.Lighting.UseLighting := False;

End Sub Chart3D;

After executing the example scene lighting is disabled.

See also:

IScene3DLighting