ICameraFocus

Description

interface Tinman.Engine.Scenes.Entities.ICameraFocus

Extended by

CameraBase abstract

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

Public / Methods

Focus​Angle


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.

Focus​Center


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.

Focus​Cone


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.

Focus​Offset


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.