docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SelectSimilar

    SelectSimilar(OccurrenceList, double, double, bool)

    Selects occurrences in the whole scene that are similar to the selected occurrences. If several occurrences are selected, the selection afterwards will contain similar parts for each input occurrence.

    Declaration
    public void SelectSimilar(OccurrenceList occurrences, double dimensionsSimilarity, double polycountSimilarity, bool ignoreSymmetry)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences for which we want to find similar occurrences in the scene.

    double dimensionsSimilarity

    The percentage of similarity on dimensions. A value of 1.0 (100%) will find parts that have exactly the same dimensions. A lower value will increase the likelihood to find similar parts, at the cost of precision.

    double polycountSimilarity

    The percentage of similarity on polycount. A value of 1.0 (100%) will find parts that have exactly the same polycount. A lower value will increase the likelihood to find similar parts, at the cost of precision.

    bool ignoreSymmetry

    If True, symmetries will be ignored, otherwise negative scaling will be applied in the occurrence transformation.

    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)