Camera3D class

Camera, defines position/orientation in 3d space.

Constructors

Camera3D({Vector3? position, Vector3? target, Vector3? up, double fovy = 1, CameraProjection projection = CameraProjection.perspective})
Camera, defines position/orientation in 3d space.

Properties

fovy double
Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pointer Pointer<Camera3D>
Native pointer, used internally.
final
position Vector3
Camera position.
getter/setter pair
projection CameraProjection
Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
getter/setter pair
ref ↔ Camera3D
Native reference.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target Vector3
Camera target it looks-at.
getter/setter pair
up Vector3
Camera up vector (rotation over its axis).
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.
override

Operators

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