1681-engine / index / SpawnOptions
Interface: SpawnOptions<A> ​
Defined in: src/ecs/prefab.ts:61
Type Parameters ​
| Type Parameter |
|---|
A |
Properties ​
args? ​
ts
optional args?: A;Defined in: src/ecs/prefab.ts:67
Handed to every factory value.
with? ​
ts
optional with?: readonly PrefabPart<A>[];Defined in: src/ecs/prefab.ts:63
Components added or replaced for this entity only (laid over the prefab's like a variant's).
without? ​
ts
optional without?: readonly ComponentType<unknown>[];Defined in: src/ecs/prefab.ts:65
Components of the prefab this entity goes without.