Mojo3d camera
Class Camera Extends Entity#
The Camera class.
Constructors | |
---|---|
New | Creates a new camera. |
Properties | |
---|---|
Aspect | Aspect ratio. (read only) |
FOV | Vertical field of view in degrees. |
Far | Far clip plane distance. |
Near | Near clip plane distance. |
ProjectionMatrix | The projection matrix. |
View | View camera is tracking. |
Viewport | Viewport. |
Methods | |
---|---|
Copy | Copies the camera. |
MousePick | |
Pick | |
ProjectToViewport | Converts a point from world coordinates to viewport coordinates. |
Render | Renders the camera to a canvas. |
UnprojectFromViewport | Converts a point from viewport coordinates to world coordinates. |