TransformPropertyExtension#

class omni.kit.property.transform.TransformPropertyExtension#

Bases: IExt

A class designed to extend the functionality of USD property widgets in Omniverse Kit.

This extension adds context menu options and a custom widget to manipulate transformation properties of USD prims. It enables adding, disabling, deleting, and enabling various transformation operations like translate, rotate, scale, and pivot directly from the property window’s context menu. It also handles the startup and shutdown processes for registering and unregistering the custom widget and menu items.

Methods

__init__()

Initializes the TransformPropertyExtension object.

on_shutdown()

Called when the extension is shut down.

on_startup(ext_id)

Called when the extension is started.

__init__()#

Initializes the TransformPropertyExtension object.

on_shutdown()#

Called when the extension is shut down.

on_startup(ext_id)#

Called when the extension is started.

Parameters:

ext_id (str) – The ID of the extension being started.