differt_core.scene.Material#
- class Material#
Bases:
objectA basic material, that can be linked to EM properties.
Attributes
The material color, used for plotting.
The material ID.
The material name.
The thickness of the material.
Methods
Detailed documentation
- color#
The material color, used for plotting.
The color is obtained from a—possibly-nested—
<rgb>element, or from a<string>element with atypeattribute. In the latter case, the color is chosen from a predefined list of colors.