GPU Particles

self:get_preprocess

Client

Retrieves how long the emitter is simulated ahead before it first draws

Syntax

local seconds = self:get_preprocess()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatsecondsPreprocess time in seconds

Examples

Get the preprocess time
local entity = particle.gpu.create()

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

On this page