ProjectionPicker
external class ProjectionPicker(var container: <Error class: unknown class>, scene: <Error class: unknown class>)(source)
The ProjectionPicker is a single button widget for switching between perspective and orthographic projections.
// In HTML head, include a link to the ProjectionPicker.css stylesheet,
// and in the body, include: <div id="projectionPickerContainer"></div>
// Note: This code assumes you already have a Scene instance.
const projectionPicker = new ProjectionPicker('projectionPickerContainer', scene);
Content copied to clipboard
Parameters
scene
The Scene instance to use.