In-game tools · interface

InspectableComponentType

The shape of a component type, as this package needs it.

Explained in In-game tools.

interface InspectableComponentType
import type { InspectableComponentType } from '@driftengine/tools';

In depth

Structural rather than imported. @driftengine/entities' ComponentType satisfies it, and so does anything else a consumer describes its state with — which is the arrangement @driftengine/drft already has with @driftengine/texture's DTEX types across a boundary the one package must not depend across. This package gains no dependency for the adapter below, so the release's place count does not move.

Properties

NameTypeDescription
namereadonlystring
schemareadonly{ readonly fields: readonly { readonly name: string; readonly type: string; }[]; }