docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateCavityOccurrences

    CreateCavityOccurrences(OccurrenceList, double, double, SmartHiddenType, uint)

    Identify cavities and create occurrences to show them

    Declaration
    public uint CreateCavityOccurrences(OccurrenceList occurrences, double voxelSize, double minimumCavityVolume, SmartHiddenType mode = SmartHiddenType.All, uint parent = 0)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences set to identify cavities

    double voxelSize

    Size of the voxels in mm

    double minimumCavityVolume

    Minimum volume of a cavity in cubic meter

    SmartHiddenType mode

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

    uint parent

    The create occurrence root will be added under the parent if given, else it will be added under the deeper parent of given occurrences

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