Extension: omni.kit.context_menu-1.8.3

Documentation Generated: Dec 17, 2024

Settings#

“/exts/omni.kit.context_menu/show_assign_material”#

  • default is true.

  • shows/hides the “Assign Material” context menu item when true/false.

“/exts/omni.kit.context_menu/hideCreateMenu”#

  • default is false.

  • shows/hides the “Create” context sub-menu items when true/false.

The following settings define how the context menu items are built.#

“/exts/omni.kit.context_menu/icon_size”#

  • default is 14.

  • The size of the menu icon.

“/exts/omni.kit.context_menu/text_size”#

  • default is 23.

  • The height of the menu item text.

“/exts/omni.kit.context_menu/margin_size”#

  • default is [4, 4].

  • The size of the margins before and after the menu item text

“/exts/omni.kit.context_menu/icon_spacing”#

  • default is [7, 7].

  • The size of the spaces before and after the menu icon.

“/exts/omni.kit.context_menu/submenu_icon_size”#

  • default is 11.7.

  • The size of the submenu arrow.

“/exts/omni.kit.context_menu/submenu_spacing”#

  • default is 4.

  • The size of the space after the submenu arrow.

“/exts/omni.kit.context_menu/color_label_enabled”#

  • default is 0xFFCCCCCC.

  • Color of menu item text when item is enabled.

“/exts/omni.kit.context_menu/color_label_disabled”#

  • default is 0xFF6F6F6F.

  • Color of menu item text when item is disabled.

“/exts/omni.kit.context_menu/color_separator”#

  • default is 0xFF6F6F6F

  • Color of menu separator item.