CameraComponent
Properties
Gets the distance to the far plane
Retrieves the camera's culling matrix. The culling matrix is the same as the projection matrix, except the far plane is finite.
Gets the focal length in meters
The distance from the camera to the focus plane in world units
Retrieves the camera forward unit vector in world space, that is a unit vector that points in the direction the camera is looking at.
Retrieves the camera left unit vector in world space, that is a unit vector that points to the left of the camera.
The camera's model matrix.
Retrieves the camera's projection matrix. The projection matrix used for rendering always has its far plane set to infinity. This is why it may differ from the matrix set through setProjection() or setLensProjection().
Gets the sensitivity in ISO
Gets the shutter speed in seconds
Retrieves the camera up unit vector in world space, that is a unit vector that points up with respect to the camera.
Retrieves the camera's view matrix. The view matrix is the inverse of the model matrix.
Functions
Sets a custom projection matrix.
Sets this camera's exposure directly. Calling this method will set the aperture to 1.0, the shutter speed to 1.2 and the sensitivity will be computed to match the requested exposure (for a desired exposure of 1.0, the sensitivity will be set to 100 ISO).
Sets this camera's exposure (default is f/16, 1/125s, 100 ISO)
Sets the projection matrix from the focal length.
Sets the projection matrix from the field-of-view.
Sets the projection matrix from a frustum defined by six planes.
Sets an additional matrix that scales the projection matrix.
Get a world space position from a view space position.
Get a view space position from a world position.