Camera slots

You don't have to create a different camera slot for each camera. Instead, you can just change which cameras use each slot. The best practice is to disable the camera components on cameras you don't need.

Note

Each camera slot must have a camera assigned to it. If you have an unused camera slot, delete it.

You can't assign a single camera to more than one slot. If you need to do this, duplicate the camera entity and assign it to a different slot.

If multiple enabled cameras in your scene use the same camera slot, the result is undefined.

  • In the Asset View (in the bottom pane by default), double-click the Graphics Compositor asset.

The graphics compositor editor opens.

For more information about the graphics compositor, see the Graphics compositor page.

  • In the graphics compositor editor, on the left, under Camera slots, click Green plus button (Add).

Game Studio adds a new camera slot to the list:

Camera slot added

Tip

To name a camera slot, double-click it in the list and type a new name.

  • In your scene, select the entity with the camera component you want to bind.

Note

The drop-down menu lists camera slots from the graphics compositor selected in the .

The graphics compositor matches enabled cameras to their appropriate slots each frame.

Use:

To change the camera at runtime, toggle the property.

Note

Make sure you:

  • don't have multiple cameras enabled and assigned to the same slot at the same time