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.
Add an entity to the outline renderer.
Destroy the outline renderer and its resources.
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.
Remove an entity from the outline renderer.
The entity to remove.
Optional
recursive: boolean = trueWhether to add MeshInstances of the entity's descendants. Defaults to true.
Class responsible for rendering color outlines around objects in the scene.