文档

Unity Engine

Unity Engine

targetDisplay

Set the target display for this Camera.
阅读时间1 分钟最后更新于 1 天前

Definition

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.