IChart3DBox.Scene

Syntax

Scene: IScene3D;

Description

The Scene property returns the interface that implements properties and methods of 3D scene.

Example

This example assumes that there is the Chart3DBox1 object of the Chart3DBox type.

Sub Chart3D;

Var

Chart3DBox1: Chart3DBox;

s : IScene3D;

Hulls : IScene3DConvexHulls;

Hull : IScene3DConvexHull;

Begin

s := Chart3DBox1.Scene;

Hulls := s.DisplayedObjects.ConvexHulls;

Hulls.Count := 1;

Hull := Hulls.Item(0);

Hull.TextStyle.Color := New GxColor.CreateARGB(255,255,0,0);

End Sub Chart3D;

After executing the example the color of names of the closed surface points is changed to red.

See also:

IChart3DBox