Skip to main content

Interface: SceneTarget

Defined in: webxr-uiextensions/src/scene.ts:74

What an adapter must provide for applyScene to build a scene. Both shipped adapters implement this; a new adapter only needs these two methods to gain full scene portability.

Methods​

spawnRegion()​

spawnRegion(region: SceneRegion): void;

Defined in: webxr-uiextensions/src/scene.ts:75

Parameters​

ParameterType
regionSceneRegion

Returns​

void


spawnWindow()​

spawnWindow(window: SceneWindow): void;

Defined in: webxr-uiextensions/src/scene.ts:76

Parameters​

ParameterType
windowSceneWindow

Returns​

void