create_material_input#
- omni.usd.create_material_input(
- prim: Prim,
- name: str,
- value: Any,
- vtype: str,
- def_value: Any | None = None,
- min_value: Any | None = None,
- max_value: Any | None = None,
- display_name: str | None = None,
- display_group: str | None = None,
- color_space: str | None = None,
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