IScene3DLevelPlanes.Count

Syntax

Count: Integer;

Description

The Count property determines the number of level indicating planes.

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