Key: Integer;
The Key property returns the key of a scene series.
This example assumes that there is the S object of the IScene3D type and the IntegerEdit component.
Sub User;
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 User;
After executing the example the editor will show the index of the created series.
See also: