文档

Unity Engine


Unity Engine


ClearCamera(Rect, Camera)

Clears the camera.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void ClearCamera(Rect position, Camera camera)

Parameters

position

Where in the Scene to clear.

camera

The camera to clear.

Remarks

The camera used by the Handle class is cleared before being used. This may happen, for example, before DrawCamera is used.