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.