File: Projector.md | Updated: 11/15/2025
This class can project a given scene in 3D space into a 2D representation used for rendering with a 2D API. Projector is currently used by SVGRenderer and was previously used by the legacy CanvasRenderer.
Projector is an addon, and must be imported explicitly, see Installation#Addons.
import { Projector } from 'three/addons/renderers/Projector.js';
Constructs a new projector.
Projects the given scene in 3D space into a 2D representation. The result is an object with renderable items.
scene | A scene or any other type of 3D object.
---|---
camera | The camera.
sortObjects | Whether to sort objects or not.
sortElements | Whether to sort elements (faces, lines and sprites) or not.
Returns: The projected scene as renderable objects.