Class SelectPathFaces | ProBuilder | 4.4.0-preview.1
docs.unity.cn
    Show / Hide Table of Contents

    Class SelectPathFaces

    Inheritance
    Object
    SelectPathFaces
    Namespace: UnityEngine.ProBuilder
    Syntax
    public static class SelectPathFaces

    Methods

    GetPath(ProBuilderMesh, Int32, Int32)

    Calculates the indexes of all faces in the shortest path between start and end

    Declaration
    public static List<int> GetPath(ProBuilderMesh mesh, int start, int end)
    Parameters
    Type Name Description
    ProBuilderMesh mesh

    The mesh of the object

    Int32 start

    The index of the starting face

    Int32 end

    The index of the ending face

    Returns
    Type Description
    List<Int32>

    The indexes of all faces

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX