GPU Particles
self:set_billboard
ClientSets whether particles always face the camera
Syntax
local status = self:set_billboard(
state
)Parameters
| Type | Name | Description |
|---|---|---|
bool | state | true to face the camera, false to keep the particle orientation |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:set_billboard(false)