CanvasMap
Getting Started Tutorials 3D Reference

Class C3CameraPerspective extends CM3Camera

C3CameraPerspective Class

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

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: Perspective

Setting Name Type Options Default Comments
fov Field Of View CMTYPE_FLOAT 45 frustrum (angle) of the vertical field of view from bottom to top in degrees
aspect aspect CMTYPE_FLOAT 1 aspect ratio between the horiziontal and veritical dimensions of the pixels