Camera class abstract
Base class for camera implementations passed to Scene.render.
A camera owns the transform that converts world-space coordinates into clip-space coordinates for a given render target size. Subclasses configure projection and view conventions; PerspectiveCamera is the built-in option, but applications can subclass Camera to implement orthographic or other custom projections.
- Implementers
Constructors
- Camera()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- position → Vector3
-
The world-space position of the camera. Used by materials for
view-dependent shading (e.g. specular reflections).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getFrustum(
Size dimensions) → Frustum -
Returns the view frustum (six normalized clip planes) for a render
target of the given
dimensions. -
getViewTransform(
Size dimensions) → Matrix4 -
Returns the combined projection-and-view transform for a render target
of the given
dimensions. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited