Orthographic camera. More...
Public Member Functions | |
OrthoCamera () | |
OrthoCamera constructor. | |
void | PickView (RenderPipeline rPipeline, int x, int y) |
Pick from this perspective view. | |
void | SetupProjection (RenderPipeline rPipeline, RenderContext ctx) |
Setup camera projection. | |
void | SetupView (RenderPipeline rPipeline, RenderContext ctx) |
Apply this perspective view. | |
Properties | |
float | MaxRange [get, set] |
Viewing fustrum maximum range. | |
float | MinRange [get, set] |
Viewing fustrum minimum range. |
Orthographic camera.
Derm.Render.OrthoCamera.OrthoCamera | ( | ) |
OrthoCamera constructor.
void Derm.Render.OrthoCamera.PickView | ( | RenderPipeline | rPipeline, | |
int | x, | |||
int | y | |||
) |
Pick from this perspective view.
window | A RenderWindow | |
x | A System.Int32 | |
y | A System.Int32 |
void Derm.Render.OrthoCamera.SetupProjection | ( | RenderPipeline | rPipeline, | |
RenderContext | ctx | |||
) |
Setup camera projection.
rPipeline | A RenderPipeline | |
ctx | A RenderContext |
This routine implementation is the characteristic of this class. It defines an orthographic projection, using the camera viewing fustrum.
Implements Derm.Render.ICamera.
void Derm.Render.OrthoCamera.SetupView | ( | RenderPipeline | rPipeline, | |
RenderContext | ctx | |||
) |
Apply this perspective view.
rPipeline | A RenderPipeline | |
rSurface | A RenderSurface | |
ctx | A RenderContext |
Derived classes defines the viewing transformation overriding this routine.
Implements Derm.Render.ICamera.
float Derm.Render.OrthoCamera.MaxRange [get, set] |
Viewing fustrum maximum range.
float Derm.Render.OrthoCamera.MinRange [get, set] |
Viewing fustrum minimum range.