Skip to main content

VpsCoachingOverlay.pipelineModule()

VpsCoachingOverlay.pipelineModule()

Description​

Creates a pipeline module that, when installed, adds VPS Coaching Overlay functionality to your Lightship VPS enabled WebAR project.

Parameters​

None

Returns​

A pipeline module that adds a VPS Coaching Overlay to your project.

Non-AFrame Example​

// Configured here
VpsCoachingOverlay.configure({
textColor: '#0000FF',
promptPrefix: 'Go look for',
})

XR8.addCameraPipelineModules([
XR8.GlTextureRenderer.pipelineModule(),
XR8.Threejs.pipelineModule(),
XR8.XrController.pipelineModule(),
XRExtras.FullWindowCanvas.pipelineModule(),
XRExtras.Loading.pipelineModule(),
XRExtras.RuntimeError.pipelineModule(),
LandingPage.pipelineModule(),
// Added here
VpsCoachingOverlay.pipelineModule(),
...
])