Custom Camera

CustomCamera

Camera
Componente
Combinar:
Transform

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

Propiedades

Nombre Tipo Descripción Nombre del script
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

Nombre Descripción
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