GPU Particles

self:scale_global

Client

Scales the particle emitter in global space

Syntax

local status = self:scale_global(
    scale
)

Parameters

TypeNameDescription
vector3scaleScale to apply in global space as {x, y, z}

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Scale a particle emitter in global space
local entity = particle.gpu.create()

entity:scale_global({2, 2, 2})

On this page