Reference API Roblox

Engine API

Website

Related

Reference API Roblox

ProjectionType

Chooses between perspective and orthographic cameras.

Items 2

HistoryNameValueDescription
742Perspective0

The camera is perspective, and uses the field of view settings.

742Orthographic1

The camera is orthographic, and uses the orthographic settings.

Description

Set to ProjectionType.Perspective (default) to use a perspective camera, where parallel lines in 3D converge on the screen and objects get smaller in the distance. Set to ProjectionType.Orthographic to use an orthographic camera, where parallel lines stay parallel and objects are the same size at any distance. This is useful for things like 2D games, isometric games, and minimaps.

History 3

Settings