IScene3DSerie.Key

Syntax

Key: Integer;

Description

The Key property returns the key of a scene series.

Example

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

Sub UserProc;
Var
    S : IScene3D;
    series: IScene3DSeries;
    serie : IScene3DSerie;
Begin
    series := S.Series;
    serie := series.Add(Scene3DSerieType.Points);
    idx := series.IndexByKey(serie.key);
    IntegerEdit1.Value := idx;
End Sub UserProc;

After executing the example the editor will show the index of the created series.

See also:

IScene3DSerie