Model loading · interface
EncodeMaterialOptions
Explained in Importing models.
interface EncodeMaterialOptionsimport type { EncodeMaterialOptions } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
qualityreadonly | number | 0 to 1. Buys latent resolution, and with it size and accuracy. |
addressModereadonlyoptional | number | One of ADDRESS_MODE. Defaults to lattice clamp, which is what every bake before 2026-09-17
produced. A tiling surface texture wants ADDRESS_MODE.CENTRE_WRAP. |