GPU Particles

self:get_emission_shape

Client

Retrieves the shape particles are emitted from

Syntax

local shape = self:get_emission_shape()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
particle.gpu.emission_shapeshapeCurrent emission shape

Examples

Get the emission shape
local entity = particle.gpu.create()

core.engine.print("info", entity:get_emission_shape())

On this page