Tesla Graphics Engine Documentation (January 2012)
SetProjection Method (fieldOfView, near, far)
Tesla
►
Tesla.Graphics
►
Camera
►
SetProjection(Single, Single, Single)
C#
Sets the camera's projection. This will always create a perspective camera.
Declaration Syntax
C#
public
void
SetProjection
(
float
fieldOfView
,
float
near
,
float
far
)
Parameters
fieldOfView
(
Single
)
Field of view, in degrees
near
(
Single
)
Distance to the near view plane
far
(
Single
)
Distance to the far view plane
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)