Class Camera

Camera manages a view and projection matrix.

Inherits from

Constructors

Name Description
this

Fields

Name Type Description
far float
fov float
near float
owner GameObject The GameObject that owns this component.
yaml dyaml.node.Node The node that defined the component.

Properties

Name Type Description
inverseViewMatrix [get] gl3n.linalg.Matrix!(float,4,4)
isDirty [get] bool TODO
viewMatrix [get] gl3n.linalg.Matrix!(float,4,4)

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.

Authors

Copyright

License