Class SharedVertex | ProBuilder | 4.2.4-preview.0
docs.unity.cn
    Show / Hide Table of Contents

    Class SharedVertex

    Defines associations between vertex positions that are coincident. The indexes stored in this collection correspond to the ProBuilderMesh.positions array.
    Coincident vertices are vertices that despite sharing the same coordinate position, are separate entries in the vertex array.

    Inheritance
    Object
    SharedVertex
    Namespace: UnityEngine.ProBuilder
    Syntax
    [Serializable]
    public sealed class SharedVertex : ICollection<int>, IEnumerable<int>, IEnumerable

    Constructors

    SharedVertex(IEnumerable<Int32>)

    Create a new SharedVertex from an int array.

    Declaration
    public SharedVertex(IEn