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

float[3][]

Start points to draw

[]

pointsB

float[3][]

End points to draw

[]

width

float

draw size

1.0

visible

bool

visibility switch for the drawing

True

spaceMatrixA

matrixd[4]

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

matrixd[4]

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)

colorf[3]

The color of the points

[0.1, 0.6, 0.8]

randomColorPP

bool

enable random color per point

True

randomSeed

int

random seed for color

1234