CreateAndBindPreviewSurfaceTextureFromLibrary

class omni.kit.material.library.CreateAndBindPreviewSurfaceTextureFromLibrary(mtl_created_list: Optional[list] = None, bind_selected_prims: list = False)

Bases: Command

Creates PreviewSurfaceTexture material prim.

Methods

__init__([mtl_created_list, bind_selected_prims])

Creates PreviewSurfaceTexture material prim.

do()

undo()

__init__(mtl_created_list: Optional[list] = None, bind_selected_prims: list = False)

Creates PreviewSurfaceTexture material prim.

Parameters
  • mtl_created_list (list) – List a add created prim to.

  • bind_selected_prims (list) – List of prims to bind materials to.