docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Bevel

    Provides functions for beveling edges.

    Inheritance
    object
    Bevel
    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 Bevel

    Methods

    BevelEdges(ProBuilderMesh, IList<Edge>, float)

    Applies a bevel to a set of edges.

    This is the equivalent of the Bevel (Edge) action.

    Declaration
    public static List<Face> BevelEdges(ProBuilderMesh mesh, IList<Edge> edges, float amount)
    Parameters
    Type Name Description
    ProBuilderMesh mesh

    Target mesh.

    IList<Edge> edges

    A set of edges to apply bevelling to.

    float amount

    A value from 0 (do not bevel) to 1 (bevel the entire face).

    Returns
    Type Description
    List<Face>

    The new faces created to form the bevel.

    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)