CanvasMap
Getting Started Tutorials 3D Reference

Class CM3CameraOrthographic extends CM3Camera

CM3CameraOrthographic Class

THREE.js https://threejs.org/docs/#api/en/cameras/OrthographicCamera

Copyright (C) 2020, Humboldt State University, Jim Graham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see
.

Settings Group: Orthographic

Setting Name Type Options Default Comments
left left CMTYPE_FLOAT sets the left side of the viewing area unless a FrustrumSize is specified
right right CMTYPE_FLOAT sets the right side of the viewing area unless a FrustrumSize is specified
top top CMTYPE_FLOAT sets the top side of the viewing area unless a FrustrumSize is specified
bottom bottom CMTYPE_FLOAT sets the bottom side of the viewing area unless a FrustrumSize is specified
FrustumSize FrustumSize CMTYPE_FLOAT 500 sets the width of the viewing area in 3D. If specified, overrides the left, right, top and bottom settings
zoom zoom CMTYPE_FLOAT 1 sets the zoom level for orthographic projections. Smaller values appear further from the objects