docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class QuadUtility

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

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

    Methods

    ToQuads(ProBuilderMesh, IList<Face>, bool)

    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.

    bool smoothing

    True to apply smoothing.

    Returns
    Type Description
    List<Face>

    A list of the processed faces.

    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)