GPU Particles

self:get_speed_scale

Client

Retrieves the simulation speed multiplier of the emitter

Syntax

local scale = self:get_speed_scale()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatscaleSpeed scale, 1 is normal speed

Examples

Get the speed scale
local entity = particle.gpu.create()

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

On this page