IScene3DLevelPlanes.Item

Syntax

Item(Index: Integer): IScene3DPlane;

Parameters

Index - index of a level indicating plane.

Description

The Item property returns the level indicating plane based on its index.

Example

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

Sub Chart3D;

Var

s : IScene3D;

Level : IScene3DLevelPlanes;

Begin

Level := s.DisplayedObjects.LevelPlanes;

Level.Count := 2;

Level.Item(0).Color := New GxColor.CreateARGB(255,0,0,255);

Level.Item(0).Offset := -0.3;

Level.Item(1).Color := New GxColor.CreateRGB(255,0,0);

Level.Item(1).Offset := 0.3;

End Sub Chart3D;

After executing the example two level indicating planes are displayed on the scene.

See also:

IScene3DLevelPlanes