IScene3DLighting.UseLighting

Syntax

UseLighting: Boolean;

Description

The UseLighting property determines whether the 3D scene is illuminated.

Comments

If the property is set to True, the scene lighting is used. It is not used when the property is set to False.

The default value of this property is True.

Example

This example assumes that there is the object S 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