OmniGraph Node omni.graph.ui.OnWidgetValueChanged

omni.graph.ui.OnWidgetValueChanged Properties

Name

Value

Version

1

Extension

omni.graph.ui

Has State?

True

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

On Widget Value Changed (BETA)

__categories

graph:action,ui

__language

Python

Generated Class Name

OgnOnWidgetValueChangedDatabase

Python Module

omni.graph.ui

omni.graph.ui.OnWidgetValueChanged Description

Event node which fires when a UI widget with the specified identifier has its value changed. This node should be used in combination with UI creation nodes such as OgnSlider.

omni.graph.ui.OnWidgetValueChanged Inputs

Name

Type

Default

Required?

Descripton

inputs:widgetIdentifier

token

Y

A unique identifier identifying the widget. This should be specified in the UI creation node such as OgnSlider.

literalOnly

1

uiName

Widget Identifier

omni.graph.ui.OnWidgetValueChanged Outputs

Name

Type

Default

Required?

Descripton

outputs:newValue

[‘bool’, ‘float’, ‘int’, ‘string’]

None

Y

The new value of the widget

uiName

New Value

outputs:valueChanged

execution

None

Y

Executed when the value of the widget is changed

uiName

Value Changed