OmniGraph Node omni.graph.examples.python.IntCounter

omni.graph.examples.python.IntCounter Properties

Name

Value

Version

1

Extension

omni.graph.examples.python

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Int Counter

__language

Python

Generated Class Name

OgnIntCounterDatabase

Python Module

omni.graph.examples.python

omni.graph.examples.python.IntCounter Description

Example stateful node that increments every time it’s evaluated

omni.graph.examples.python.IntCounter Inputs

Name

Type

Default

Required?

Descripton

inputs:increment

int

1

Y

Increment to count by

__default

1

inputs:reset

bool

False

Y

Whether to reset the count

__default

false

omni.graph.examples.python.IntCounter Outputs

Name

Type

Default

Required?

Descripton

outputs:count

int

0

Y

The current count

__default

0