GPU Particles

self:is_local_coords

Client

Checks whether particles move with the emitter

Syntax

local result = self:is_local_coords()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if particles move with the emitter, false if they are left behind in world space

Examples

Check whether particles use local coordinates
local entity = particle.gpu.create()

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

On this page