pygfx.materials.MeshNormalLinesMaterial
- class pygfx.materials.MeshNormalLinesMaterial(line_length=1.0, **kwargs)
Bases:
MeshAbstractMaterial
Render surface normals as lines.
A material that shows surface normals as simple lines. The lines stick out from the vertices at the front faces by default.
- Parameters:
line_length (float) – The length of the lines that indicate the normals, in local space. Set this to a negative value to make the lines stick out from the back faces.
kwargs (Any) – Additional kwargs will be passed to the
base class
.
- property line_length
The length of the lines that indicate the normals, in local space. Set this to a negative value to make the lines stick out from the back faces.