GPU Particles
self:get_amount
ClientRetrieves the number of particles emitted per cycle
Syntax
local amount = self:get_amount()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | amount | Number of particles |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:get_amount())