docs.unity3d.com
    Show / Hide Table of Contents

    Class Bevel

    Provides functions for beveling edges.

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

    Methods

    BevelEdges(ProBuilderMesh, IList<Edge>, Single)

    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.

    Single 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.

    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