OmniGraph Node omni.graph.ui.Slider

omni.graph.ui.Slider Properties

Name

Value

Version

1

Extension

omni.graph.ui

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Slider (BETA)

__categories

graph:action,ui

__language

Python

Generated Class Name

OgnSliderDatabase

Python Module

omni.graph.ui

omni.graph.ui.Slider Description

Create a slider widget on the Viewport

omni.graph.ui.Slider Inputs

Name

Type

Default

Required?

Descripton

inputs:create

execution

None

Y

Input execution to create and show the widget

uiName

Create

inputs:disable

execution

None

Y

Disable this button so that it cannot be pressed

uiName

Disable

inputs:enable

execution

None

Y

Enable this button after it has been disabled

uiName

Enable

inputs:hide

execution

None

Y

Input execution to hide the widget and all its child widgets

uiName

Hide

inputs:max

float

0.0

Y

The maximum value of the slider

uiName

Max

inputs:min

float

0.0

Y

The minimum value of the slider

uiName

Min

inputs:parentWidgetPath

token

None

The absolute path to the parent widget. If empty, this widget will be created as a direct child of Viewport.

uiName

Parent Widget Path

inputs:show

execution

None

Y

Input execution to show the widget and all its child widgets after they become hidden

uiName

Show

inputs:step

float

0.01

Y

The step size of the slider

uiName

Step

__default

0.01

inputs:tearDown

execution

None

Y

Input execution to tear down the widget and all its child widgets

uiName

Tear Down

inputs:widgetIdentifier

token

None

An optional unique identifier for the widget. Can be used to refer to this widget in other places such as the OnWidgetClicked node.

uiName

Widget Identifier

inputs:width

double

100.0

Y

The width of the created slider

uiName

Width

__default

100.0

omni.graph.ui.Slider Outputs

Name

Type

Default

Required?

Descripton

outputs:created

execution

None

Y

Executed when the widget is created

uiName

Created

outputs:widgetPath

token

None

Y

The absolute path to the created widget

uiName

Widget Path