CanvasMap
Getting Started Tutorials 3D Reference

Class CM3Camera

CM3Camera Class
Contains the classes to manage the settings and editing features for 3D Cameras.
Cameras are relatively simiple and are not items as they need to be placed on a set of
controls to have their position and rotation determined

CM3Camera - base class for cameras
CM3CameraOrthographic -
C3CameraPerspective -


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

Setting Name Type Options Default Comments
near near CMTYPE_FLOAT 0.1 frustrum near plan
far far CMTYPE_FLOAT 20000000 frustum far plane
up up CMTYPE_ENUMERATED "X", "Y", "Z" Z aspect ratio between the horiziontal and veritical dimensions of the pixels
lookAt lookAt CMTYPE_VECTOR

Name Name CMTYPE_STRING Open Open CMTYPE_BOOLEAN false true if the object is open in the editor tree