Materials

class geometries.sph.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.sph.materials.multiColor.MultiColorMaterial.MultiColorMaterial.MultiColorMaterial

Constructor. The constructor takes no argument.

class geometries.sph.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.sph.materials.varyingColor.VaryingColorMaterial.VaryingColorMaterial.VaryingColorMaterial

Constructor. The constructor takes no argument.