docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DualContouring

    DualContouring(OccurrenceList, int, int, double, bool, AABB)

    Replace the tessellations of the selected parts by a retopology based on a dual-contouring

    Declaration
    public uint DualContouring(OccurrenceList occurrences, int minFixedDepth, int maxDepth, double tolerance, bool sameSizeOnAllAxis, AABB aabb)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    int minFixedDepth

    Minimum depth of the octree for removing inside parts

    int maxDepth

    Maximum depth of the octree for the dual-contouring (defines the minimum polygon size)

    double tolerance

    Tolerance for the quadric error used for the simplification of the octree

    bool sameSizeOnAllAxis

    If true, use the maximum axis length of the AABB for all axis

    AABB aabb

    AABB to use for the root of the octree

    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)