Camera class

Constructors

Camera({Vector3? position, double zoom = 1.0, double fov = 80.0, double near = 0.001, double far = 10000, double viewportWidth = 100.0, double viewportHeight = 100.0, CameraControls? cameraControls})

Properties

aspectRatio → double
no setter
cameraControls ↔ CameraControls
getter/setter pair
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
q ↔ Quaternion
getter/setter pair
rotation → Vector3
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → Vector3
final
size → Size
no setter
transform → Matrix4
final
viewportHeight ↔ double
getter/setter pair
viewportWidth ↔ double
getter/setter pair
zoom → double
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
panCamera(Vector2 to, [double sensitivity = 1.0]) → void
panCameraStart(Vector2 to) → void
relativeLocation(Vector3 objectPosition, Offset offset) → Vector3
reset() → void
toString() → String
A string representation of this object.
inherited
trackBall(Vector2 to, [double sensitivity = 1.0]) → void
zoomCamera(double zoom, [Vector2? to, Vector2? offset, double sensitivity = 1.0]) → void

Operators

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