Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


targetDisplay

Set the target display for this Camera.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int targetDisplay { get; set; }

Remarks

This setting makes a Camera render into the specified display. Maximum number of displays (eg. monitors) supported is 8.
This property has no effect on Android and iOS platforms, consider using Camera.SetTargetBuffers.
Additional Resources: Display class, Canvas.targetDisplay.