Function: runPathTracer()
runPathTracer(
target
,model
,options
):Promise
<void
>
Main routine to generate renderings.
Parameters
• target: string
ID of the canvas element to render to
• model
The model to render
• model.scene: Group
<Object3DEventMap
>
• options: PathTracerOptions
= {}
Options for the path tracer
Returns
Promise
<void
>
A promise that resolves when the path tracer has finished setting up, but not when the path tracer has finished rendering.