Camera.h
A transform representated as a row-major matrix.
Definition: TransformMatrix.h:44
bool autoRefresh
Sets whether to call Refresh() automatically.
Definition: Camera.h:79
brief Indicates use for 2D orthographics viewing
Definition: AssetID.h:37
Dynacoe::Vector TransformScreenToWorld(const Dynacoe::Vector &point, float distance)
Converts a point representing a pixel on a display to a point in 3D space.
Dynacoe::Vector TransformWorldToScreen(const Dynacoe::Vector &point)
Converts a point in transformed space to a pixel position on the display.
Assets are referred to by an AssetID. The AssetID uniquely refers to an Asset stored within memory...
Definition: AssetID.h:42
Framebuffer * GetFramebuffer()
Returns the framebuffer for the camera.
TransformMatrix GetProjectionTransform()
Returns the projection matrix of the Camera.
Indicates use for 3D perspective viewing.
TransformMatrix GetViewTransform()
Returns the viewing matrix of the Camera.
void SetRenderResolution(int w, int h)
Convenience function to set the rendering resultion.
AssetID CopyDisplay()
Returns a copy of the last rendered visual stored to this camera.
void Refresh()
Forces clearing of the results of drawing stored within the Camera.