GPU Particles
self:is_unshaded
ClientChecks whether particles ignore scene lighting
Syntax
local result = self:is_unshaded()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if particles ignore lighting, false if they are lit |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:is_unshaded())