GPU Particles
self:get_draw_order
ClientRetrieves the order in which particles are drawn
Syntax
local order = self:get_draw_order()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
particle.gpu.draw_order | order | Current draw order |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:get_draw_order())