class documentation

Represents a standard mesh material.

This material is a standard physically-based rendering (PBR) material. This material is ideal for most use cases.

Parameters
colorthe color of the material
emissive_colorthe emissive color of the material. This is the color emitted by the material itself independent of the light
emissive_intensitythe intensity of the emissive color
metalnessthe metalness of the material
roughnessthe roughness of the material
wireframewhether to render the mesh as a wireframe
opacitythe opacity of the material, in the range [0, 1]
Method __init__ Undocumented
Method as_dict Undocumented
Method color.setter Undocumented
Method emissive_color.setter Undocumented
Method emissive_intensity.setter Undocumented
Method metalness.setter Undocumented
Method roughness.setter Undocumented
Property color Undocumented
Property emissive_color Undocumented
Property emissive_intensity Undocumented
Property metalness Undocumented
Property roughness Undocumented
Instance Variable _color Undocumented
Instance Variable _emissive_color Undocumented
Instance Variable _emissive_intensity Undocumented
Instance Variable _metalness Undocumented
Instance Variable _roughness Undocumented

Inherited from MeshMaterial:

Method wireframe.setter Undocumented
Instance Variable _wireframe Undocumented

Inherited from Material3D (via MeshMaterial):

Method opacity.setter Undocumented
Static Method _from_dict Undocumented
Instance Variable _opacity Undocumented

Inherited from BaseValidatedDataClass (via MeshMaterial, Material3D):

Method __eq__ Undocumented
Method __repr__ Undocumented
Method __setattr__ Undocumented
def __init__(self, color: str = COLOR_DEFAULT_GRAY, emissive_color: str = COLOR_DEFAULT_BLACK, emissive_intensity: float = 0.0, metalness: float = 0.0, roughness: float = 1.0, wireframe: bool = False, opacity: float = 1.0): (source)
@color.setter
def color(self, value: str): (source)

Undocumented

@emissive_color.setter
def emissive_color(self, value: str): (source)

Undocumented

@emissive_intensity.setter
def emissive_intensity(self, value: float): (source)

Undocumented

@metalness.setter
def metalness(self, value: float): (source)

Undocumented

@roughness.setter
def roughness(self, value: float): (source)

Undocumented

Undocumented

@property
emissive_color: str = (source)

Undocumented

@property
emissive_intensity: float = (source)

Undocumented

Undocumented

Undocumented

Undocumented

_emissive_color = (source)

Undocumented

_emissive_intensity = (source)

Undocumented

_metalness = (source)

Undocumented

_roughness = (source)

Undocumented