docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method VisibilityShoot

    VisibilityShoot(int, bool, bool, bool, bool)

    Render one frame of the visibility session

    Declaration
    public OccurrenceList VisibilityShoot(int viewer = -1, bool parts = true, bool patches = true, bool polygons = true, bool countOnce = false)
    Parameters
    Type Name Description
    int viewer

    Viewer to use for the visibility shoot

    bool parts

    If false, optimize when parts seen are not wanted

    bool patches

    If false, optimize when patches seen are not wanted

    bool polygons

    If false, optimize when polygons seen are not wanted

    bool countOnce

    Optimize when it is not needed to count the numbers of pixels seen during the session

    Returns
    Type Description
    OccurrenceList
    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)