What it does
mesh.createTube creates a Tube in mesh. It takes id, path and r.
Signature
mesh.createTube(id, path, r)Arguments
idpathr
Example · generated
function start() { mesh.createTube('tube', '/assets/file.png', 1);}mesh.createTube 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.