GPU Particles

self:set_billboard

Client

Sets whether particles always face the camera

Syntax

local status = self:set_billboard(
    state
)

Parameters

TypeNameDescription
boolstatetrue to face the camera, false to keep the particle orientation

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Stop particles facing the camera
local entity = particle.gpu.create()

entity:set_billboard(false)

On this page