ParticlesMaterial.color

Each particle's initial color. If the Particles2D's texture is defined, it will be multiplied by this color. To have particle display color in a SpatialMaterial make sure to set SpatialMaterial.vertexColorUseAsAlbedo to true.

  1. Color color [@property getter]
  2. Color color [@property setter]
    struct ParticlesMaterial
    @nogc nothrow @property
    void
    color
    (
    Color v
    )

Meta