docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveOccludedGeometriesFromViewPoints

    RemoveOccludedGeometriesFromViewPoints(OccurrenceList, SelectionLevel, Point3List, Point3List, Point3List, int, double, bool, int, OccurrenceList)

    Delete part occurrences, patches or polygons not viewed from a set of camera position/orientation

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public BoolList RemoveOccludedGeometriesFromViewPoints(OccurrenceList occurrences, SelectionLevel level, Point3List positions, Point3List directions, Point3List ups, int resolution, double fovX = 90, bool considerTransparentOpaque = false, int adjacencyDepth = 1, OccurrenceList occluders = null)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of components to process

    SelectionLevel level

    Level of geometries to remove : Parts, Patches or Polygons

    Point3List positions

    List of positions

    Point3List directions

    List of directions

    Point3List ups

    List of up vectors

    int resolution

    Resolution of the visibility viewer

    double fovX

    Horizontal field of view (in degree)

    bool considerTransparentOpaque

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

    int adjacencyDepth

    Mark neighbors polygons as visible

    OccurrenceList occluders

    Specify other occurrences for occluder scene

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