Debug 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

int[3]

Default color

[26, 145, 197]

randomColorPP

bool

enable random color per point

True

randomSeed

int

random seed for color

1234