docs.unity3d.com
    Show / Hide Table of Contents

    Class Bevel

    Functions for beveling edges.

    Inheritance
    Object
    Bevel
    Namespace: UnityEngine.ProBuilder.MeshOperations
    Syntax
    public static class Bevel

    Methods

    BevelEdges(ProBuilderMesh, IList<Edge>, Single)

    Apply a bevel to a set of edges.

    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 (bevel not at all) to 1 (bevel entire face).

    Returns
    Type Description
    List<Face>

    The new faces created to form the bevel.

    Back to top
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)