class documentation
class MeshDepthMaterial(MeshMaterial): (source)
Constructor: MeshDepthMaterial(wireframe, opacity)
Represents a depth mesh material.
This material is used for drawing geometry by depth, where depth is based off of the camera near and far plane. White is nearest, black is farthest.
Parameters | |
wireframe | whether to render the mesh as a wireframe |
opacity | the opacity of the material, in the range [0, 1] |
Inherited from MeshMaterial
:
Method | __init__ |
Undocumented |
Method | as |
Undocumented |
Method | wireframe |
Undocumented |
Instance Variable | _wireframe |
Undocumented |
Inherited from Material3D
(via MeshMaterial
):
Method | opacity |
Undocumented |
Static Method | _from |
Undocumented |
Instance Variable | _opacity |
Undocumented |
Inherited from BaseValidatedDataClass
(via MeshMaterial
, Material3D
):
Method | __eq__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setattr__ |
Undocumented |