docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SawWithOctree

    SawWithOctree(OccurrenceList, AABB, int, int, double)

    Saw and split the mesh with an octree. New parts will be placed as children of input part occurrences.

    Declaration
    public uint SawWithOctree(OccurrenceList occurrences, AABB aabb, int maxDepth, int maxTrianglesByLeaf = -1, double sawTolerance = 0)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    AABB aabb

    Octree Bounding Box

    int maxDepth

    Depth of the octree

    int maxTrianglesByLeaf

    Set the maximum triangle count on the leaf of the octree ( -1 to not use )

    double sawTolerance

    Size in mm of the tolerance of the saw

    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)