Model loading · interface
Impostor
Explained in Importing models.
interface Impostorimport type { Impostor } from '@driftengine/assets';Properties
| Name | Type | Description |
|---|---|---|
atlasreadonly | Float32Array | size * size RGBA texels. |
sizereadonly | number | Texels across the whole atlas. |
directionsreadonly | number | Tiles across one axis; the atlas holds this squared. |
framereadonly | ViewFrame | The sphere the views were framed on, which is what places the sprite. |