Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Type of projection used by the camera.
Namespace: Visual3D.Graphics3DAssembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public enum ProjectionType
Public Enumeration ProjectionType
Members
| Member | Value | Description |
|---|---|---|
| Orthographic | 0 | Things stay the same size no matter where they are in terms of the camera. Normally only used in 3D HUD elements. |
| Perspective | 1 | Things get smaller when they are furthur away from the camera. |
| OrthographicAltitudeScaled | 2 | Orthographic; 'Zooms' the view, based on height above terrain (aka Altitude). Normally only used in 3D HUD elements./// |
| OrthographicYScaled | 3 | Orthographic; 'Zooms' the view, based on World Y (unaffected by terrain elevation). Normally only used in 3D HUD elements./// |