DriftTexture · interface

OverlayOptions

Explained in DriftTexture.

interface OverlayOptions
import type { OverlayOptions } from '@driftengine/texture';

Properties

NameTypeDescription
tilesAcrossreadonlyoptionalnumberTiles across the unit square. With tileSize, this fixes the texel density.
addressModereadonlyoptionalnumberADDRESS_CLAMP or ADDRESS_WRAP. Take it from the base texture's DecodeGraph.