Skip to content

Interface: EngineFeature ​

Optional features (Engine/EngineFeature.ts): pass the ones a build uses as EngineOptions.features.

Properties ​

PropertyModifierTypeDescription
componentsreadonlyreadonly unknown[]The feature's components: listing them keeps their modules (and registrations) in the build, so scenes can load them by name.
idreadonlystringMatches the editor's Project Settings → Features ids.

Methods ​

Install() ​

ts
Install(engine, options): Partial<Record<FeatureSlot, ISystem[]>>;

The feature's systems by slot. Called once, from the Engine's constructor.

Parameters ​

ParameterType
engineEngine
optionsEngineOptions

Returns ​

Partial<Record<FeatureSlot, ISystem[]>>

© 2026 PlayAdGentic