Materials
- class geometries.nil.materials.multiColor.MultiColorMaterial.MultiColorMaterial(mainColor, accent1, accent2, accent3, grid)
A material that display a single plain color
Constructor. The constructor takes no argument.
- Arguments:
mainColor (Color) – the color of the material
accent1 (Color) – amplitudes of the variations on each channel
accent2 (Color) – amplitudes of the variations on each channel
accent3 (Color) – amplitudes of the variations on each channel
grid (Bool) – do we draw a grid or not
- geometries.nil.materials.multiColor.MultiColorMaterial.MultiColorMaterial.MultiColorMaterial
Constructor. The constructor takes no argument.
- class geometries.nil.materials.varyingColor.VaryingColorMaterial.VaryingColorMaterial(mainColor, weight)
A material that display a single plain color
Constructor. The constructor takes no argument.
- Arguments:
mainColor (Color) – the color of the material
weight (Color) – amplitudes of the variations on each channel
- geometries.nil.materials.varyingColor.VaryingColorMaterial.VaryingColorMaterial.VaryingColorMaterial
Constructor. The constructor takes no argument.