CameraKey class final

One camera key: where the eye is, what it looks at, how wide it sees — the vertical field of view in degrees, forty-five unless the document says, which is the engine's own lens, so a cutscene that names none cuts to it without the picture changing size.

A class rather than a record, so a key can take another field in a minor (an easing of its own, a roll) without breaking a reader.

Constructors

CameraKey({required int step, required Vector3 at, required Vector3 look, required double fieldOfView})
A key reached on step; fieldOfView is in radians.
const

Properties

at → Vector3
Where the eye is, in metres.
final
fieldOfView → double
The vertical field of view, in radians, read from the document's degrees.
final
hashCode → int
The hash code for this object.
no setteroverride
look → Vector3
The point it looks at, in metres.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
step → int
The step it is reached on.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
Equal to another with the same fields, as the record it was compared.
override