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

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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: