Camera<T> class abstract

Constructors

Camera.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future
getCullingFar() Future<double>
Gets the distance to the far plane used for culling.
getCullingProjectionMatrix() Future<Matrix4>
getEntity() ThermionEntity
Get the entity that has the underlying Camera component attached.
getFocalLength() Future<double>
getFocusDistance() Future<double>
Get the focus distance for depth-of-field postprocessing effect. If DoF is not enabled, this does nothing.
getFrustum() Future<Frustum>
getHorizontalFieldOfView() Future<double>
getModelMatrix() Future<Matrix4>
getNativeHandle() → dynamic
inherited
getNear() Future<double>
Gets the distance to the near plane.
getPosition() Future<Vector3>
getProjectionMatrix() Future<Matrix4>
getVerticalFieldOfView() Future<double>
getViewMatrix() Future<Matrix4>
lookAt(Vector3 position, {Vector3? focus, Vector3? up}) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setExposure(double aperture, double shutterSpeed, double sensitivity) Future
From Camera.h:
setFocusDistance(double focusDistance) Future
Set the focus distance for depth-of-field postprocessing effect. If DoF is not enabled, this does nothing.
setLensProjection({double near = kNear, double far = kFar, double aspect = 1.0, double focalLength = kFocalLength}) Future
setModelMatrix(Matrix4 matrix) Future
setProjection(Projection projection, double left, double right, double bottom, double top, double near, double far) Future
setProjectionMatrixWithCulling(Matrix4 projectionMatrix, double near, double far) Future
setTransform(Matrix4 transform) Future
Set the transform for this entity.
toString() String
A string representation of this object.
inherited

Operators

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