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