Zum Hauptinhalt springen

XR8.CanvasScreenshot.pipelineModule()

XR8.CanvasScreenshot.pipelineModule()

Description

Creates a camera pipeline module that, when installed, receives callbacks on when the camera has started and when the canvas size has changed.

Parameters

None

Returns

A CanvasScreenshot pipeline module that can be added via XR8.addCameraPipelineModule().

Example

XR8.addCameraPipelineModule(XR8.CanvasScreenshot.pipelineModule())