FindByKey(Key: Integer): IScene3DSerie;
Key - key of a scene series.
The FindByKey method finds a scene series based on the specified key.
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.FindByKey(IntegerEdit1.Value);
IntegerEdit1.Value := serie.Type;
End Sub User;
After executing the example the editor displays the index of the found series type.
See also: