OmniGraph Node omni.graph.ui.VStack

omni.graph.ui.VStack Properties

Name

Value

Version

1

Extension

omni.graph.ui

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Stack (BETA)

__categories

graph:action,ui

__language

Python

Generated Class Name

OgnVStackDatabase

Python Module

omni.graph.ui

omni.graph.ui.VStack Description

Contruct a Stack on the Viewport. All child widgets of Stack will be placed in a row, column or layer based on the direction input.

omni.graph.ui.VStack Inputs

Name

Type

Default

Required?

Descripton

inputs:create

execution

None

Y

Input execution to create and show the widget

uiName

Create

inputs:direction

token

TOP_TO_BOTTOM

Y

The direction the widgets will be stacked.

allowedTokens

BACK_TO_FRONT,BOTTOM_TO_TOP,FRONT_TO_BACK,LEFT_TO_RIGHT,RIGHT_TO_LEFT,TOP_TO_BOTTOM

__allowedTokens

{“BACK_TO_FRONT”: “BACK_TO_FRONT”, “BOTTOM_TO_TOP”: “BOTTOM_TO_TOP”, “FRONT_TO_BACK”: “FRONT_TO_BACK”, “LEFT_TO_RIGHT”: “LEFT_TO_RIGHT”, “RIGHT_TO_LEFT”: “RIGHT_TO_LEFT”, “TOP_TO_BOTTOM”: “TOP_TO_BOTTOM”}

uiName

Direction

__default

“TOP_TO_BOTTOM”

inputs:parentWidgetPath

token

Y

The absolute path to the parent widget.

uiName

Parent Widget Path

inputs:style

string

None

Style to be applied to the stack and its children. This can later be changed with the WriteWidgetStyle node.

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

omni.graph.ui.VStack 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