Interaction Tools
Orthographic Selection
What this shows
Select map objects from a plan view without perspective distortion.
Loading scene…Key API excerpt
Key API excerpt
import * as EASEL from "@xsyetopz/easel";
const camera = new EASEL.OrthographicCamera({ left: -6, right: 6, top: 3.5, bottom: -3.5 });
raycaster.setFromCamera(pointer, camera);
const hit = raycaster.intersectObjects(cubes, false)[0];