ViewportMenu
- class omni.kit.context_menu.scripts.ViewportMenu
Bases:
object
Viewport context menu implementation with own styling
Methods
bind_material_to_prim_dialog
(objects)can_show_clear_clipboard
(objects, menu_item)clear_clipboard
()copy_prim_to_clipboard
(objects)is_material_bindable
(objects)is_on_clipboard
(objects, name)is_prim_on_clipboard
(objects)paste_prim_from_clipboard
(objects)set_prim_to_pos
(path, new_pos)show_create_menu
(objects)show_menu
(usd_context_name[, prim_path, ...])Attributes
menu_delegate
- __init__()
- class MenuDelegate
Bases:
DefaultMenuDelegate