navcat docs
    Preparing search index...

    Function markWalkableTriangles

    • Marks triangles as walkable based on their slope angle

      Parameters

      • inVertices: ArrayLike<number>

        Array of vertex coordinates [x0, y0, z0, x1, y1, z1, ...]

      • inIndices: ArrayLike<number>

        Array of triangle indices [i0, i1, i2, i3, i4, i5, ...]

      • outTriAreaIds: ArrayLike<number>

        Output array of triangle area IDs, with a length equal to inIndices.length / 3

      • walkableSlopeAngle: number = 45.0

        Maximum walkable slope angle in degrees (default: 45)

      Returns void