docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SawWithPlane

    SawWithPlane(OccurrenceList, Point3, Point3, SawingMode, string, string, double)

    Saw the mesh with a plane. New parts will be placed as children of input part occurrences.

    Declaration
    public void SawWithPlane(OccurrenceList occurrences, Point3 planeOrigin, Point3 planeNormal, SawingMode mode, string innerSuffix = "_inner", string outerSuffix = "_outer", double tolerance = 0)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    Point3 planeOrigin

    The plane origin

    Point3 planeNormal

    The plane normal

    SawingMode mode

    The sawing mode

    string innerSuffix

    Only if mode is set to SawAndSplit, set the suffix of the inner part

    string outerSuffix

    Only if mode is set to SawAndSplit, set the suffix of the outer part

    double tolerance

    Set a tolerance to make the saw lose

    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)