Programming API Reference: SharpGfx.Cameras

Class public abstract Projection

Ditto.
Property public float Near { get; set; }: distance of the view-frustum plane
Property public float Far { get; set; }: distance of the view-frustum plane

Class public PerspectiveProjection

is Projection
Ditto.
Property public float FovY { get; set; }: the field of view y angle in radians.

Constructor()

Create a new perspective projection.
  • float fovY: in radians

Class public OrthographicProjection

is Projection
Ditto.
Property public float Scale { get; set; }: that is applied in the transformation to the projection plan.

Constructor()

Create a new orthographic projection.
  • float scale