OmniGraph Node omni.graph.ui.Placer

omni.graph.ui.Placer Properties

Name

Value

Version

1

Extension

omni.graph.ui

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Placer (BETA)

__categories

graph:action,ui

__language

Python

Generated Class Name

OgnPlacerDatabase

Python Module

omni.graph.ui

omni.graph.ui.Placer Description

Contruct a Placer widget. The Placer takes a single child and places it at a given position within it.

omni.graph.ui.Placer Inputs

Name

Type

Default

Required?

Descripton

inputs:create

execution

None

Y

Input execution to create and show the widget

uiName

Create

inputs:parentWidgetPath

token

Y

The absolute path to the parent widget.

uiName

Parent Widget Path

inputs:position

double[2]

[0.0, 0.0]

Y

Where to position the child widget within the Placer.

uiName

Position

inputs:style

string

None

Style to be applied to the Placer and its child. 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.Placer 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 Placer widget

uiName

Widget Path