This version of Unity is unsupported.

CameraEditor.CreatePreviewOverlay

Declaration

public Overlays.Overlay CreatePreviewOverlay(Camera cam);

Parameters

cam The selected Camera.

Returns

Overlay The Overlay to show when this editor is enabled.

Description

Creates an Overlay preview of the selected camera.

Override this function to create a custom Overlay to display when the Camera editor is active.