docs.unity3d.com
    Show / Hide Table of Contents

    Occluder component

    An Occluder MonoBehaviour component specifies which entities are occluders. After you attach this component to a GameObject, the baking process attaches the relevant occluder ECS components to the converted entity.

    Tip

    The Scene view provides a visual Gizmo that displays a wireframe of the assigned occluder mesh using the current settings. This helps you to position, rotate, and scale the occluder mesh, if necessary, so it's inscribed within the visual mesh.

    Occluder Inspector reference

    Property Description
    Mesh The mesh to use for occlusion culling calculations. This should be a low-poly mesh that is inscribed within the visual mesh.
    Local Position The position offset to apply to the occlusion mesh.
    Local Rotation The rotation offset to apply to the occlusion mesh.
    Local Scale The scale offset to apply to the occlusion mesh.

    Additional resource

    • Occlusion View component
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023