Draw Points

Draw square per input point

Installation

To use this Node, you must enable omni.kit.viewportDraw in the Extension Manager.

Inputs

Name

Type

Description

Default

points

float[3][]

Initial set of points to draw

[]

size

float

draw size

5.0

showIndex

bool

show number next to point

True

visible

bool

visibility switch for the drawing

True

spaceMatrix

matrixd[4]

Transform matrix of the points

[[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