CreatePreviewSurfaceTextureMaterialPrimCommand#
- class omni.usd.commands.CreatePreviewSurfaceTextureMaterialPrimCommand(
- mtl_path: str | Path,
- select_new_prim: bool = False,
Bases:
Command
Create a USD Preview Surface Texture Material.
Methods
__init__
(mtl_path[, select_new_prim])Constructor.
do
()undo
()- __init__(
- mtl_path: str | Path,
- select_new_prim: bool = False,
Constructor.
- Parameters:
mtl_path (Union[str, Sdf.Path]) – The material path to create.
select_new_prim (bool, optional) – If to select new created prim. Default is False.