docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDuplicatedParts

    GetDuplicatedParts(uint, double, double, double, double)

    Get duplicated parts

    Declaration
    public OccurrenceList GetDuplicatedParts(uint root = 0, double acceptVolumeRatio = 0.01, double acceptPolycountRatio = 0.1, double acceptAABBAxisRatio = 0.01, double acceptAABBCenterDistance = 0.1)
    Parameters
    Type Name Description
    uint root

    Root occurrence for the process

    double acceptVolumeRatio

    If the ratio of volumes of two part is lower than acceptVolumeRatio, they will be considered duplicated

    double acceptPolycountRatio

    If the ratio of polygon counts of two part is lower than acceptPolycountRatio, they will be considered duplicated

    double acceptAABBAxisRatio

    If the ratio of AABB axis of two part is lower than acceptAABBAxisRatio, they will be considered duplicated

    double acceptAABBCenterDistance

    If the ratio of AABB centers of two part is lower than acceptAABBCenterRatio, they will be considered duplicated

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