文档

Unity Engine

Unity Engine

IsCameraDrawModeEnabled(CameraMode)

Returns true if mode is enabled in the current rendering setup, including custom validators.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool IsCameraDrawModeEnabled(SceneView.CameraMode mode)

Parameters

Returns

Type

Description

boolReturns true if the SceneView.CameraMode is available in this SceneView. Returns false otherwise.