Create a new OutlineRenderer.
The application.
Optional
renderingLayer: LayerA layer used internally to render the outlines. If not provided, the renderer will use the 'Immediate' layer. This needs to be supplied only if the 'Immediate' layer is not present in the scene.
Optional
priority: number = -1The priority of the camera rendering the outlines. Should be smaller value than the priority of the scene camera, to be updated first. Defaults to -1.
Update the outline renderer. Should be called once per frame.
The camera used to render the scene, which is used to provide the camera properties to the outline rendering camera.
The layer in which the outlines should be rendered.
Whether the blend layer is transparent.
Class responsible for rendering color outlines around objects in the scene.