Version: Unity 6.1 Alpha (6000.1)
Language : English
Introduction to camera render types in URP
Multiple cameras in URP

Change the render type of a camera in URP

Use a CameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
’s Render Type property to make it a Base Camera or an Overlay Camera.

To change the type of a Camera in the Unity Editor:

  1. Create or select a Camera in your sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
    See in Glossary
    .

  2. In the Camera InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
    See in Glossary
    , use the Render Type drop-down menu to select a different type of Camera. Select either:

    • Base to change the Camera to a Base Camera

    • Overlay to change the Camera to an Overlay Camera

You can change a Camera’s type in a script, by setting the renderType property of the Camera’s Universal Additional Camera Data component, like this:

var cameraData = camera.GetUniversalAdditionalCameraData();
cameraData.renderType = CameraRenderType.Base;
Introduction to camera render types in URP
Multiple cameras in URP