docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateVisibilityInformation

    CreateVisibilityInformation(OccurrenceList, SelectionLevel, int, int, double, bool, uint, bool)

    Create visilibity information on part occurrences viewed from a set of camera automatically placed on a sphere around the scene

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void CreateVisibilityInformation(OccurrenceList occurrences, SelectionLevel level, int resolution, int sphereCount, double fovX = 90, bool considerTransparentOpaque = false, uint root = 0, bool onHemisphereOnly = false)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of components to process

    SelectionLevel level

    Level of geometries to create visibility information on: Parts, Patches or Polygons

    int resolution

    Resolution of the visibility viewer

    int sphereCount

    Number of viewpoints generated around the bounding sphere

    double fovX

    Horizontal field of view (in degree)

    bool considerTransparentOpaque

    If True, Parts, Patches or Polygons with a transparent appearance are considered as opaque

    uint root

    Specify another root for occluder scene

    bool onHemisphereOnly

    Create viewpoints only in the Y+ hemisphere of the bounding sphere

    In This Article
    Back to top
    Copyright © 2025 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)