docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveOccludedGeometriesAdvanced

    RemoveOccludedGeometriesAdvanced(OccurrenceList, SelectionLevel, double, double, int, InnerOuterOption, bool, int, OccurrenceList)

    Delete part occurrences, patches or polygons not seen from voxel based view points.

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public BoolList RemoveOccludedGeometriesAdvanced(OccurrenceList occurrences, SelectionLevel level, double voxelSize, double minimumCavityVolume, int resolution, InnerOuterOption mode = InnerOuterOption.All, 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

    double voxelSize

    Size of the voxels in mm (smaller it is, more viewpoints there are)

    double minimumCavityVolume

    Minimum volume of a cavity in cubic meter (smaller it is, more viewpoints there are)

    int resolution

    Resolution of the visibility viewer

    InnerOuterOption mode

    Select where to place camera (all cavities, only outer or only inner cavities)

    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)