What it does
material.delete acts on material: it deletes. It takes id.
Signature
material.delete(id)Arguments
id
Example · generated
function start() { material.createStandard('standard'); material.delete('standard');}material.createStandard is there to give the call something to act on; material.delete is the line that matters. The code sits in start(), which the engine calls once, when the entity spawns.