Class Camera
Camera
manages a view and projection matrix.
Inherits from
-
(base class)Component
-
IDirtyable
Constructors
Name | Description |
---|---|
this
|
Fields
Name | Type | Description |
---|---|---|
far
|
float |
|
fov
|
float |
|
near
|
float |
|
owner
|
GameObject |
The GameObject that owns this component. |
yaml
|
dyaml. |
The node that defined the component. |
Properties
Name | Type | Description |
---|---|---|
inverseViewMatrix
[get]
|
gl3n. |
|
isDirty
[get]
|
bool |
TODO |
viewMatrix
[get]
|
gl3n. |
Methods
Name | Description |
---|---|
inverseOrthogonalMatrix
|
TODO |
inversePerspectiveMatrix
|
TODO |
lookAt
|
Creates a view matrix looking at a position. |
orthogonalMatrix
|
TODO |
perspectiveMatrix
|
TODO |
projectionConstants
|
TODO |
updateViewMatrix
|
TODO |
draw
|
Called on the draw cycle.
|
initialize
|
The function called on initialization of the object. |
refresh
|
Called when refreshing an object. |
shutdown
|
Called on shutdown .
|
update
|
Called on the update cycle.
|