Count To

Example stateful node that counts to countTo by a certain increment

Installation

To use this node enable omni.graph.examples.python in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Count To (inputs:countTo)

double

The ceiling to count to

3

Increment (inputs:increment)

double

Increment to count by

0.1

Reset (inputs:reset)

bool

Whether to reset the count

False

Trigger (inputs:trigger)

double[3]

Position to be used as a trigger for the counting

[0.0, 0.0, 0.0]

Outputs

Name

Type

Descripton

Default

Count (outputs:count)

double

The current count

0.0

Metadata

Name

Value

Unique ID

omni.graph.examples.python.CountTo

Version

1

Extension

omni.graph.examples.python

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Count To

Categories

examples

Generated Class Name

OgnCountToDatabase

Python Module

omni.graph.examples.python