Int Counter

Example stateful node that increments every time it’s executed.

Installation

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

Inputs

Name

Type

Descripton

Default

Increment (inputs:increment)

int

Increment to count by

1

Reset (inputs:reset)

bool

Whether to reset the count

False

Outputs

Name

Type

Descripton

Default

Count (outputs:count)

int

The current count

0

Metadata

Name

Value

Unique ID

omni.graph.examples.python.IntCounter

Version

1

Extension

omni.graph.examples.python

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Int Counter

Categories

examples

Generated Class Name

OgnIntCounterDatabase

Python Module

omni.graph.examples.python