IScene3DHullDataSource.PointColor

Syntax

PointColor(Index: Integer): IGxColor;

Parameters

Index - point index.

Description

The PointColor property determines a point color.

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 the example changes the color of the point (sphere) with the 0 index to red.

See also:

IScene3DHullDataSource