static Projection Projection{ get set }


For flatscreen applications only! This allows you to change the camera projection between perspective and orthographic projection. This may be of interest for some category of UI work, but is generally a niche piece of functionality.

Swapping between perspective and orthographic will also switch the clipping planes and field of view to the values associated with that mode. See SetClip/SetFov for perspective, and SetOrthoClip/SetOrthoSize for orthographic.


Toggling the projection mode

Only in flatscreen apps, there is the option to change the main camera’s projection mode between perspective and orthographic.

if (SK.ActiveDisplayMode == DisplayMode.Flatscreen &&
	Renderer.Projection = Renderer.Projection == Projection.Perspective
		? Projection.Ortho
		: Projection.Perspective;

Found an issue with these docs, or have some additional questions? Create an Issue on Github!