Custom Camera

CustomCamera

Camera
Component
Combine:
Transform

A custom camera is fully controlled by the developer and determines what the player sees during gameplay

Properties

Name Type Description Script Name
Camera Projection Mode Camera Projection Mode How the camera renders the screen CameraProjectionMode
Field of View Float Field of view is the camera’s viewing angle FOV
Orthographic Size Float Control the size of the area visible to the camera OrthographicSize
CullingMask Int The camera’s rendering layer mask, which allows filtering the camera’s rendered objects by visibility level CullingMask

API

Name Description
Switch Custom Camera Switching the target player’s camera to the target camera
Switch Custom Camera Switching the target player’s camera to the target camera
Set Custom Camera Culling Mask Set the culling mask of the target camera to control visibility across all layers
Get Custom Camera Culling Mask Get the culling mask of the target camera
Set Custom Camera Culling Mask Layer Set the visibility of the target camera for a specific layer