GPU Particles

self:get_draw_order

Client

Retrieves the order in which particles are drawn

Syntax

local order = self:get_draw_order()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
particle.gpu.draw_orderorderCurrent draw order

Examples

Get the draw order
local entity = particle.gpu.create()

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

On this page