Skip to main content

LandingPage.pipelineModule()

LandingPage.pipelineModule()

Description

Creates a pipeline module that, when installed, adds landing page functionality to your project.

Parameters

None

Returns

A pipeline module that adds landing page functionality to your project.

Non-AFrame Example

// Configured here
LandingPage.configure({
mediaSrc: 'https://domain.com/bat.glb',
sceneEnvMap: 'hill',
})
XR8.addCameraPipelineModules([
XR8.GlTextureRenderer.pipelineModule(),
XR8.Threejs.pipelineModule(),
XR8.XrController.pipelineModule(),
XRExtras.FullWindowCanvas.pipelineModule(),
XRExtras.Loading.pipelineModule(),
XRExtras.RuntimeError.pipelineModule(),
// Added here
LandingPage.pipelineModule(),
...
])