Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

EditorGUIUtility.IsDisplayReferencedByCameras

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.

Did you find this page useful? Please give it a rating: