GPU Particles
self:set_preprocess
ClientSets how long the emitter is simulated ahead before it first draws
Syntax
local status = self:set_preprocess(
seconds
)Parameters
| Type | Name | Description |
|---|---|---|
float | seconds | Preprocess time in seconds, at least 0 |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:set_preprocess(2)