Version: 2022.3
言語: 日本語

CommandBuffer.SetSinglePassStereo(SinglePassStereoMode)

マニュアルに切り替える

パラメーター

mode Single-pass stereo mode for the camera.

説明

Add a command to set single-pass stereo mode for the camera.

This property is only used when Virtual Reality is enabled. The values passed to mode are found in the SinglePassStereoMode enum. This can be paired with set shader keyword (i.e. UNITY_SINGLE_PASS_STEREO) to temporarily disable stereo rendering for fullscreen effects. Note: changing single-pass stereo mode can cause rendering artifacts when stereo is enabled.