A Camera is defined by its resolution. The camera generates Rays for every pixel of the image.
- Implemented by
Constructors
- Camera()
Properties
- center → Point3
-
read / write
- hashCode → int
-
Get a hash code for this object.…
read-only, inherited - res → Vector2
-
The resolution of this camera.
read-only - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.…
inherited
Methods
-
getPrimaryRays(
int x, int y) → List<Ray> -
Returns a collection of primary rays generated for the given pixel by this camera.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.…
inherited -
rotate(
num horAngle, num verAngle) → void -
Rotates this camera around the given horizontal and vertical angles.
-
toString(
) → String -
Returns a string representation of this object.
inherited -
zoom(
num distance) → void -
Zooms in or out depending if the distance is positive or negativ.