CameraBase
Description
- Derived from
-
SceneEntityView<ISceneView3D> abstract
ILocalSpaceProperty
ICameraFocus - Extended by
-
CameraCenter abstract
Abstract base class for scene entity views that place the camera in the coordinate system of an arbitrary local-space.
The default implementation of ICameraFocus.FocusAngle adjusts Zoom and the one of ICameraFocus.FocusCenter uses ITerrainTransform.ModifyOrigin.
Public / Attributes
Clamp
The clamp distance to use for keeping the camera above the terrain.
Height clamping is performed by UpdateCamera, which is called automatically whenever the changed state of this CameraBase object is applied, see ISceneObject.UpdateState. First, the camera position in terrain-space is computed. Then, the ICameraWorld.Clamp method of IScene.World is used to adjust the computed camera position, so that it maintains the given minimum height. Typically, this will move the camera straight up, if necessary.
Defaults to 1
.