docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawOcclusionMesh

    DrawOcclusionMesh(CommandBuffer, Camera, bool)

    Draw the XR occlusion mesh.

    Declaration
    public static void DrawOcclusionMesh(CommandBuffer cmd, Camera camera, bool stereoEnabled = true)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command Buffer used to draw the occlusion mesh.

    Camera camera

    Camera for which the occlusion mesh is rendered.

    bool stereoEnabled

    True if stereo rendering is enabled.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)