GPU Particles

self:is_unshaded

Client

Checks whether particles ignore scene lighting

Syntax

local result = self:is_unshaded()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if particles ignore lighting, false if they are lit

Examples

Check whether particles are unshaded
local entity = particle.gpu.create()

core.engine.print("info", entity:is_unshaded())

On this page