ICameraFocus

Description

interface Tinman.Engine.Scenes.Entities.ICameraFocus

Extended by

CameraBase abstract

Base interface for cameras that can be focussed automatically on points of interest in the scene.

Public / Methods

FocusAngle


public method FocusAngle → (1)

angle in : float64

[>=0]
The cone opening angle, in degrees.

returns → bool

true if angle in has been applied to some amount, false if it has been ignored.

Applies the given cone opening angle.

The given angle in depicts the optimal focus value, implementations are free to interpret it in any way.

FocusCenter


public method FocusCenter → (1)

center in : Vec3D

The point in terrain-space.

returns → bool

true if center in has been applied to some amount, false if it has been ignored.

Applies the given focus center.

The given center in depicts the optimal focus value, implementations are free to interpret it in any way.

FocusCone


public method FocusCone → (1)

view out : Ray

The spine of the focus cone.

returns → float64

The cone opening angle, in degrees.

Returns the current focus cone of this camera.

FocusOffset


public method FocusOffset → (1)

offset in : float64

The cone offset distance, in terrain-space.

returns → bool

true if offset in has been applied to some amount, false if it has been ignored.

Applies the given cone offset distance.

The given offset in depicts the optimal focus value, implementations are free to interpret it in any way.