navcat docs
    Preparing search index...

    Function clearUnwalkableTriangles

    • Clears (sets to NULL_AREA) triangles whose slope exceeds the walkable limit. Mirrors markWalkableTriangles but does the inverse operation.

      Parameters

      • inVertices: ArrayLike<number>

        Array of vertex coordinates [x0, y0, z0, ...]

      • inIndices: ArrayLike<number>

        Array of triangle indices [i0, i1, i2, ...]

      • inOutTriAreaIds: ArrayLike<number>

        In/out array of triangle area IDs (modified in place)

      • walkableSlopeAngle: number = 45.0

        Maximum walkable slope angle in degrees (default: 45)

      Returns void