GPU Particles
self:get_emission_shape
ClientRetrieves the shape particles are emitted from
Syntax
local shape = self:get_emission_shape()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
particle.gpu.emission_shape | shape | Current emission shape |
Examples
local entity = particle.gpu.create()
core.engine.print("info", entity:get_emission_shape())