PointColor(Index: Integer): IGxColor;
Index: Point index
The PointColor property determines color of a point.
This example assumes that there is the S object of the IScene3D type.
Sub Chart3D;
Var
S : IScene3D;
Hulls : IScene3DConvexHulls;
Hull : IScene3DConvexHull;
Begin
Hulls := S.DisplayedObjects.ConvexHulls;
Hull := Hulls.Item(0);
Hull.DataSource.PointColor(0) := New GxColor.CreateRGB(255,0,0);
s.Refresh;
End Sub Chart3D;
Executing this example changes the color of the point (sphere) with zero index to red.
See also: