docs.unity.cn
    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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, June 13, 2023