What it does
material.createPBRMetallic creates a PBRMetallic in material. It takes id.
Signature
material.createPBRMetallic(id)Arguments
id
Example · generated
function start() { material.createPBRMetallic('pBRMetallic');}material.createPBRMetallic 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.