Camera class

Constructors

Camera({Vector3? position, Vector3? target, Vector3? up, double fov = 60.0, double near = 0.1, double far = 1000, double zoom = 1.0, double viewportWidth = 100.0, double viewportHeight = 100.0})

Properties

aspectRatio double
no setter
far double
getter/setter pair
fov double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lookAtMatrix Matrix4
no setter
near double
getter/setter pair
position Vector3
final
projectionMatrix Matrix4
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target Vector3
final
up Vector3
final
viewportHeight double
getter/setter pair
viewportWidth double
getter/setter pair
zoom double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
trackBall(Vector2 from, Vector2 to, [double sensitivity = 1.0]) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited