What it does
material.setTextureScale sets TextureScale on a material object. It takes id, u and v.
Signature
material.setTextureScale(id, u, v)Arguments
iduv
Example · generated
function start() { material.createStandard('standard'); material.setTextureScale('standard', 0.5, 0.5);}material.createStandard is there to give the call something to act on; material.setTextureScale is the line that matters. The code sits in start(), which the engine calls once, when the entity spawns.