docs.unity3d.com
Search Results for

    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)