CameraBase

Description

abstract class Tinman.Engine.Scenes.Entities.CameraBase

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.

Public / Attributes

Zoom


public attribute Zoom → (get,set)

value : float64

The camera zoom, which will be clamped to ZoomRange.

The camera zoom.

Defaults to 1.

See also

Camera.Zoom

Zoom​Range


public attribute ZoomRange → (get,set)

value : RangeD

The camera zoom range, which will be used to clamp Zoom.

The allowed camera zoom value range.

Defaults to [1..1].

Protected / Constructors

Camera​Base


protected constructor CameraBase → (1)

Creates a new instance of CameraBase.

Protected / Methods

Update​Camera


protected method UpdateCamera → (3)

center in : Vec3D

The camera position.

target in : Vec3D

The camera look-at target.

up in : Vec3D

The camera up-vector.

Updates the camera, in the local coordinate system.