Count To#

Example stateful node that counts to countTo by a certain increment

Installation#

To use this Node, you must enable omni.graph.examples.python in the Extension Manager.

Inputs#

Name

Type

Description

Default

trigger

double[3]

Position to be used as a trigger for the counting

[0.0, 0.0, 0.0]

reset

bool

Whether to reset the count

False

countTo

double

The ceiling to count to

3

increment

double

Increment to count by

0.1

Outputs#

Name

Type

Description

Default

count

double

The current count

0.0