pygfx.materials.MeshNormalMaterial¶
- class pygfx.materials.MeshNormalMaterial(color='#fff', color_mode='auto', map=None, map_interpolation='linear', side='BOTH', **kwargs)¶
Bases:
MeshAbstractMaterial
Color from Mesh normals.
A material that maps the normal vectors to RGB colors. The
flat_shading
property can be used to show face normals.