In order to create occlusion primitives which are openable and closable at runtime, Unity uses Occlusion Portals.
Property: | Function: |
---|---|
Open | Indicates if the portal is open (scriptable). |
Center | Sets the center of the Occlusion AreaA component which defines a 3D space within which to apply Occlusion Culling to moving objects. More info See in Glossary. By default this is 0,0,0 and is located in the center of the box. |
Size | Defines the size of the Occlusion Area. |