create_material_input
- omni.usd.create_material_input(prim: Prim, name: str, value: Any, vtype: str, def_value: Optional[Any] = None, min_value: Optional[Any] = None, max_value: Optional[Any] = None, display_name: Optional[str] = None, display_group: Optional[str] = None, color_space: Optional[str] = None) Attribute
Creates a material input.
- Parameters
prim (Usd.Prim) – Prim handle.
name (str) – Name of the input.
value (Any) – Value of the input.
vtype (str) – Type of the value.
def_value (Any, optional) – Default value. Defaults to None.
min_value (Any, optional) – Min value. Defaults to None.
max_value (Any, optional) – Max value. Defaults to None.
display_name (str, optional) – Display name. Defaults to None.
display_group (str, optional) – Display group. Defaults to None.
color_space (str, optional) – Color space of the input. Defaults to None.
- Returns
The created input attribute.
- Return type
Usd.Attribute