GPU Particles
self:get_color
ClientRetrieves the base color of the particles
Syntax
local color = self:get_color()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
color | color | Particle color as {r, g, b, a} |
Examples
local entity = particle.gpu.create()
local color = entity:get_color()
core.engine.print("info", util.table.unpack(color))