What it does
material.createBackground creates a Background in material. It takes id.
Signature
material.createBackground(id)Arguments
id
Example · generated
function start() { material.createBackground('background');}material.createBackground is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.