Skip to content

Vibe coding a plugin? Teach your agent Modlumi first. Works with Claude Code, Codex, Cursor and more.

Texture

An image a Material repeats over faces.

readonly optional height?: number

Height of one repeat in meters; 1 by default when assigning.


readonly image: ArrayBuffer | Uint8Array<ArrayBufferLike>

The bytes of a PNG or JPEG file, up to 32 MiB. Scripts can’t read files, so pass an image as base64 text and decode it with Uint8Array.fromBase64(text).


readonly optional width?: number

Width of one repeat in meters; 1 by default when assigning.