StageIconsExtension

class omni.kit.widget.stage_icons.StageIconsExtension

Bases: IExt

This class extension adds icons for some primitive types in the state window.

Methods

get_registered_icons()

Returns the list of registered icons.

on_shutdown()

Extension shutdown callback function.

on_startup(ext_id)

Extension startup callback function.

register_icons()

Registers icons based on the SVG files found in the icons directory.

__init__(self: omni.ext._extensions.IExt) None
static get_registered_icons()

Returns the list of registered icons.

Returns

The list of registered icons or None if no icons have been registered.

Return type

list

on_shutdown()

Extension shutdown callback function. This is called automatically when the Python side of this extension unloads.

on_startup(ext_id)

Extension startup callback function. This is called automatically when the Python side of this extension loads.

register_icons()

Registers icons based on the SVG files found in the icons directory.