docs.unity3d.com
    Show / Hide Table of Contents

    Class QuadUtility

    Provides a helper function to manage converting triangulated polygons to quads.

    Inheritance
    Object
    QuadUtility
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.ProBuilder.MeshOperations
    Syntax
    public static class QuadUtility

    Methods

    ToQuads(ProBuilderMesh, IList<Face>, Boolean)

    Converts the faces to quads if possible.

    Declaration
    public static List<Face> ToQuads(this ProBuilderMesh mesh, IList<Face> faces, bool smoothing = true)
    Parameters
    Type Name Description
    ProBuilderMesh mesh

    The source mesh.

    IList<Face> faces

    The list of faces to process.

    Boolean smoothing

    True to apply smoothing.

    Returns
    Type Description
    List<Face>

    A list of the processed faces.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023