Defines an orthographic projection.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.0.0.0 (1.0.0.9509)
Syntax
| C# |
|---|
public class OrthographicProjection : Projection |
| Visual Basic |
|---|
Public Class OrthographicProjection _ Inherits Projection |
| Visual C++ |
|---|
public ref class OrthographicProjection : public Projection |
Remarks
The projection can be set in several ways:
- By setting the properties Left, Right, Bottom, Top, Near, and Far.
- By setting assigning a projection matrix using Set(Matrix44F) or the property Inverse.
- By calling on of the following methods: Set(Single, Single), Set(Single, Single, Single, Single), Set(Matrix44F), SetOffCenter(Single, Single, Single, Single), SetOffCenter(Single, Single, Single, Single, Single, Single),
The property ViewVolume defines the bounding shape of the projection space which can be used for frustum culling. The shape is updated automatically when the properties of the projection change.
Inheritance Hierarchy
System..::..Object
DigitalRune.Graphics..::..Projection
DigitalRune.Graphics..::..OrthographicProjection
DigitalRune.Graphics..::..Projection
DigitalRune.Graphics..::..OrthographicProjection