C# Class NewTOAPIA.GL.GLProjectionCamera

This is the base class for all cameras. What they all have in common is: Location, LookAt, Up Beyond these basics, they apply their own transforms on a scene.
Inheritance: Camera
Mostrar archivo Open project: Wiladams/NewTOAPIA

Protected Properties

Property Type Description
fFrustum GLFrustum

Public Methods

Method Description
GLProjectionCamera ( GraphicsInterface gi ) : NewTOAPIA.Drawing

By default, the camera is located at the origin, looking down the -z axis, with the y-axis as the up vector.

GLProjectionCamera ( GraphicsInterface gi, Point3D location, Point3D lookAt, Vector3D up, float nearPlane, float farPlane ) : NewTOAPIA.Drawing
OnRealize ( ) : void
Realize ( ) : void
SetFar ( float farPlane ) : void
SetFrustum ( GLFrustum frustum ) : void
SetNear ( float nearPlane ) : void

Method Details

GLProjectionCamera() public method

By default, the camera is located at the origin, looking down the -z axis, with the y-axis as the up vector.
public GLProjectionCamera ( GraphicsInterface gi ) : NewTOAPIA.Drawing
gi GraphicsInterface
return NewTOAPIA.Drawing

GLProjectionCamera() public method

public GLProjectionCamera ( GraphicsInterface gi, Point3D location, Point3D lookAt, Vector3D up, float nearPlane, float farPlane ) : NewTOAPIA.Drawing
gi GraphicsInterface
location Point3D
lookAt Point3D
up NewTOAPIA.Graphics.Vector3D
nearPlane float
farPlane float
return NewTOAPIA.Drawing

OnRealize() public method

public OnRealize ( ) : void
return void

Realize() public method

public Realize ( ) : void
return void

SetFar() public method

public SetFar ( float farPlane ) : void
farPlane float
return void

SetFrustum() public method

public SetFrustum ( GLFrustum frustum ) : void
frustum GLFrustum
return void

SetNear() public method

public SetNear ( float nearPlane ) : void
nearPlane float
return void

Property Details

fFrustum protected_oe property

protected GLFrustum,NewTOAPIA.GL fFrustum
return GLFrustum