createIndexedLineSet
Syntax
createIndexedLineSet(Nodes:length[3], LineSequences:integer[][][, Color:integer]) → any |
The method createIndexedLineSet creates an indexed line set in the window of the scene.
Parameters
The parameter Nodes is a two-dimensional array of data type length which sets the positions of the Nodes, which follow, in space.
The parameter LineSequences is an array of arrays of data type integer which sets the sequence of lines which follow. Each inner array contains a sequence of node indexes which set the line.
The optional parameter Colors of data type any sets the color.
Return Value
The return value has the data type any and specifies the created graphic, compare the method _3D.getGraphic.
Example
var Nodes: real[3, 8] |
The created indexed face and line sets look like this:
Related Topics