Version: 2022.1
言語: 日本語

SceneView.IsCameraDrawModeSupported

マニュアルに切り替える
public bool IsCameraDrawModeSupported (SceneView.CameraMode mode);

パラメーター

mode A CameraMode to check.

戻り値

bool Returns true if the current rendering configuration supports the CameraMode.

説明

Checks if the current rendering configuration supports the CameraMode. The check includes custom validators.

A rendering configuration might not support a CameraMode if the mode has a feature that the current render pipeline does not support. For example, if the render pipeline does not support Enlighten Realtime Global Illumination, and CameraMode has a property DrawCameraMode.RealtimeAlbedo, this method returns false.