Button (BETA)#
Create a button widget on the Viewport
Installation#
To use this Node, you must enable omni.graph.ui_nodes
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Create (create) |
|
Input execution to create and show the widget |
|
Parent Widget Path (parentWidgetPath) |
|
The absolute path to the parent widget. |
|
Start Hidden (startHidden) |
|
Determines whether the button will initially be visible (False) or not (True). |
False |
Widget Identifier (widgetIdentifier) |
|
An optional unique identifier for the widget. Can be used to refer to this widget in other places such as the OnWidgetClicked node. |
|
Text (text) |
|
The text that is displayed on the button |
|
style |
|
Style to be applied to the button. This can later be changed with the WriteWidgetStyle node. |
|
Size (size) |
|
The width and height of the created widget. Value of 0 means the created widget will be just large enough to fit everything. |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Created (created) |
|
Executed when the widget is created |
|
Widget Path (widgetPath) |
|
The absolute path to the created widget |