# {py:mod}`simvx.core.graphics.material` ```{py:module} simvx.core.graphics.material ``` ```{autodoc2-docstring} simvx.core.graphics.material :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`Material ` - ```{autodoc2-docstring} simvx.core.graphics.material.Material :summary: ``` ```` ### API `````{py:class} Material(color: tuple[float, ...] | numpy.ndarray = (1.0, 1.0, 1.0, 1.0), metallic: float = 0.0, roughness: float = 0.5, blend: typing.Literal[opaque, alpha, additive] = 'opaque', wireframe: bool = False, double_sided: bool = False, unlit: bool = False, albedo_map: str | None = None, normal_map: str | None = None, metallic_roughness_map: str | None = None, emissive_map: str | None = None, ao_map: str | None = None, emissive_color: tuple[float, ...] | None = None) :canonical: simvx.core.graphics.material.Material ```{autodoc2-docstring} simvx.core.graphics.material.Material ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} simvx.core.graphics.material.Material.__init__ ``` ````{py:attribute} __slots__ :canonical: simvx.core.graphics.material.Material.__slots__ :value: > ('color', 'metallic', 'roughness', 'blend', 'wireframe', 'double_sided', 'unlit', 'albedo_uri', 'nor... ```{autodoc2-docstring} simvx.core.graphics.material.Material.__slots__ ``` ```` ````{py:property} color_bytes :canonical: simvx.core.graphics.material.Material.color_bytes :type: bytes ```{autodoc2-docstring} simvx.core.graphics.material.Material.color_bytes ``` ```` ````{py:method} to_dict() -> dict :canonical: simvx.core.graphics.material.Material.to_dict ```{autodoc2-docstring} simvx.core.graphics.material.Material.to_dict ``` ```` ````{py:method} from_dict(d: dict) -> simvx.core.graphics.material.Material :canonical: simvx.core.graphics.material.Material.from_dict :classmethod: ```{autodoc2-docstring} simvx.core.graphics.material.Material.from_dict ``` ```` `````