Version: 2021.2

XRDisplaySubsystem.occlusionMaskScale

切换到手册
public float occlusionMaskScale ;

描述

A scale applied to the standard occulsion mask.

This property scales up the occlusion mask to allow pixels outside of the XR headset's field of vision are rendered to, allowing effects to access the required texture data. Scaling up the occlusion mask could incur a performance penalty on the GPU due to the extra pixels being rendered.