Draw Lines#
Draw Line per pair of points in pointsA and pointsB
Installation#
To use this Node, you must enable omni.kit.viewportDraw
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
pointsA |
|
Start points to draw |
[] |
pointsB |
|
End points to draw |
[] |
width |
|
draw size |
1.0 |
visible |
|
visibility switch for the drawing |
True |
spaceMatrixA |
|
Transform matrix of the pointsA |
[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]] |
spaceMatrixB |
|
Transform matrix of the pointsB |
[[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 0.0, 0.0, 1.0]] |
Color (color) |
|
The color of the points |
[0.1, 0.6, 0.8] |
randomColorPP |
|
enable random color per point |
True |
randomSeed |
|
random seed for color |
1234 |