GPU Particles
self:get_dimension
ClientRetrieves the dimension of the particle emitter
Syntax
local dimension = self:get_dimension()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | dimension | Current dimension id |
Examples
local entity = particle.gpu.create()
core.engine.print("info", "Particle emitter dimension:", entity:get_dimension())