Camera
A Unity Camera defined by a Transform, field of view, near-plane, far-plane, aspect ratio, resolution. You can also access the color and depth buffer.
Properties
Property | Description |
---|---|
Transform | The transform of the camera. This is a Transform that contains the camera's position and orientation. |
Orthographic | Is the camera orthographic (true) or perspective (false)? For more information, see orthographic. |
Field Of View | The height of the camera's view angle (in degrees) along the local y-axis. For more information, see fieldOfView. |
Near Plane | The closest plane, relative to the camera, at which drawing occurs. For more information, see nearPlane. |
Far Plane | The furthest plane, relative to the camera, at which drawing occurs. For more information, see farPlane. |
Orthographic Size | The camera's half-size when in orthographic mode. For more information, see orthographicSize. |
Aspect Ratio | The proportional relationship between the camera's width and height. For more information, see aspect. |
Pixel Dimensions | The width and height of the camera in pixels, before dynamic resolution scaling. For more information, see pixelWidth and pixelHeight. |
Scaled Pixel Dimensions | The width and height of the camera in pixels, after dynamic resolution scaling. For more information, see scaledPixelWidth and scaledPixelHeight. |
Lens Shift | The lens offset of the camera. For more information, see lensShift. |
Depth Buffer | Specifies the depth buffer for this camera. |
Color Buffer | Specifies the color buffer for this camera. |