Version: 2017.3

EditorGUIUtility.IsDisplayReferencedByCameras

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

Parameters

displayIndex Display index.

Returns

bool True if a camera will render to the display.

Description

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