docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SmartHiddenRemoval

    SmartHiddenRemoval(OccurrenceList, SelectionLevel, double, double, int, SmartHiddenType, bool, int, uint)

    Delete parts, patches or polygons not viewed from a set of camera automatically generated

    Declaration
    public BoolList SmartHiddenRemoval(OccurrenceList occurrences, SelectionLevel level, double voxelSize, double minimumCavityVolume, int resolution, SmartHiddenType mode = SmartHiddenType.All, bool considerTransparentOpaque = false, int adjacencyDepth = 1, uint root = 0)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of components to process

    SelectionLevel level

    Level of parts 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

    SmartHiddenType 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

    uint root

    Specify another root for occluder scene

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