Guide 1 Docs 2 Reference 3

Method of ModelBuild

modelBuild:texture

Makes a pixel picture for one face; with tint, drawn in greys and coloured by that material. With scroll, it moves by itself on a block drawn from the model, speed texels a tick (1, 2, 3, or 0.5, 0.25).

modelBuild:texture(width: number, height: number, opts: { tint: ModelMaterial?, scroll: ("up" | "down" | "left" | "right")?, speed: number? }?) → ModelTexture

Parameters

widthnumberrequired
heightnumberrequired
opts{ tint: ModelMaterial?, scroll: ("up" | "down" | "left" | "right")?, speed: number? }optional

Returns

ModelTexture