GPU Particles

self:get_explosiveness

Client

Retrieves how much of the emission happens at once

Syntax

local ratio = self:get_explosiveness()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatratioExplosiveness between 0 (steady stream) and 1 (every particle at once)

Examples

Get the explosiveness
local entity = particle.gpu.create()

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

On this page