GPU Particles

self:reset_material

Client

Goes back to the plain built-in particle material

Syntax

local status = self:reset_material()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Reset the material
local entity = particle.gpu.create()

entity:set_material("assets/spark.png")
entity:reset_material()

On this page