Version: 2019.2

EditorGUIUtility.IsDisplayReferencedByCameras

Switch to Manual
public static bool IsDisplayReferencedByCameras (int displayIndex);

Parameters

displayIndexDisplay index.

Returns

bool True if a camera will render to the display.

Description

Check if any enabled camera can render to a particular display.