GPU Particles
self:reset_material
ClientGoes back to the plain built-in particle material
Syntax
local status = self:reset_material()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = particle.gpu.create()
entity:set_material("assets/spark.png")
entity:reset_material()