Create options
Destroy this Object
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
The aspect size of the rendering surface
The distance between the provided point and the camera
A point in world space
The camera height
Returns the projection inverse matrix of the camera
Returns the projection matrix of the camera
Returns the translation of the camera
Returns the view inverse matrix of the camera
Returns the view matrix of the camera
Returns the view-projection inverse matrix of the camera
Returns the view-projection matrix of the camera
The camera width
Indicates if the camera's frustum intersects with the provided AABB
The AABB to check intersection with
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Resize the camera
The destination width after resize
The destination height after resize
Converts the provided point from screen space into world space
A point in screen space
Update the camera height
The new camera height
Update the camera width
The new camera width
Should be called every frame, must be overridden
Update the frustum of the camera
Updates the internal transforms and matrices
The view matrix of the camera model
The projection matrix of the camera model
Converts the provided point from world space into screen space
A point in world space
Generated using TypeDoc
object
should be in either of the following forms:interface EventTypes { 'event-with-parameters': any[] 'event-with-example-handler': (...args: any[]) => void }