Camera

object Camera
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case
class Fixed(position: Point, zoom: Zoom, rotation: Radians) extends Camera

Indigo's default camera is fixed. It starts at position 0,0 and shows you everything down and right from there until it runs out of screen. Fixed cameras are useful for replicating the behaviour of Indigos normal windowing while controlling the position, zoom and rotation.

Indigo's default camera is fixed. It starts at position 0,0 and shows you everything down and right from there until it runs out of screen. Fixed cameras are useful for replicating the behaviour of Indigos normal windowing while controlling the position, zoom and rotation.

Companion
object
object Fixed
Companion
class
final case
class LookAt(target: Point, zoom: Zoom, rotation: Radians) extends Camera

LookAt cameras center the screen on whatever position they are looking at. Useful for following a players character, for example.

LookAt cameras center the screen on whatever position they are looking at. Useful for following a players character, for example.

Companion
object
object LookAt
Companion
class

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

Concrete fields

final lazy
final lazy
final lazy
val CanEqual_Option_Option: CanEqual[Option[Camera], Option[Camera]]