Interface: BabylonRuntimeAdapterOptions
Defined in: service-framework-babylon/src/babylon-runtime-adapter.ts:127
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
host? | readonly | BabylonEngineHostLike | The Babylon Engine, or anything else with runRenderLoop. Given one, the adapter owns the loop: BabylonRuntimeAdapter.start binds it and each callback becomes a frame. Omit it to drive frames yourself with BabylonRuntimeAdapter.emitFrame. | service-framework-babylon/src/babylon-runtime-adapter.ts:140 |
referenceSpaceType? | readonly | string | The reference space to enter with. Defaults to "local-floor". | service-framework-babylon/src/babylon-runtime-adapter.ts:148 |
scheduler? | readonly | IScheduler | Given a scheduler, each owned frame also emits the renderTick channel with source: "babylon", exactly as BabylonRenderLoopBridge does, so an app needs one loop owner rather than two. | service-framework-babylon/src/babylon-runtime-adapter.ts:146 |
sessionInit? | readonly | (mode: SessionMode) => unknown | Supplies the XRSessionInit for a mode - required and optional features. Called once per request; the default sends no init at all. | service-framework-babylon/src/babylon-runtime-adapter.ts:153 |
xr? | readonly | BabylonXRExperienceLike | null | WebXRDefaultExperience.baseExperience. Omit it, or pass null, on a build with no XR at all: every session request then reports "unsupported" and capabilities stay at the all-false defaults. | service-framework-babylon/src/babylon-runtime-adapter.ts:133 |