GPU Particles
self:get_scale
ClientRetrieves the local scale of the particle emitter
Syntax
local scale = self:get_scale()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
vector3 | scale | Current local scale as {x, y, z} |
Examples
local entity = particle.gpu.create()
local scale = entity:get_scale()
core.engine.print("info", "Emitter scale:", util.table.unpack(scale))