Entities · interface
ComponentView
A component's storage, addressable by field name.
Explained in Entities.
interface ComponentViewimport type { ComponentView } from '@driftengine/entities';In depth
sparse maps an entity's index — not its handle — to a position in every column here. Taking
the index from a handle is entity % 2 ** 26, which is what a caller that cannot import
entityIndex writes inline.
Properties
| Name | Type | Description |
|---|---|---|
sparse | Int32Array |
Signatures
[field: string]: ViewColumn
[field: string]: ViewColumn