What it does
material.setAlbedoTexture sets AlbedoTexture on a material object. It takes id and url.
Signature
material.setAlbedoTexture(id, url)Arguments
idurl
Example · generated
function start() { material.createStandard('standard'); material.setAlbedoTexture('standard', '/textures/wall.jpg');}material.createStandard is there to give the call something to act on; material.setAlbedoTexture is the line that matters. The code sits in start(), which the engine calls once, when the entity spawns.