기술 자료

Unity Engine

Unity Engine

targetDisplay

Set the target display for this Camera.
읽는 시간 1분최근 업데이트: 한 달 전

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.