IScene3DHullDataSource.PointColor

Syntax

PointColor(Index: Integer): IGxColor;

Parameters

Index: Point index

Description

The PointColor property determines color of a point.

Example

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:

IScene3DHullDataSource