Function ArrayMesh.surfaceFindByName

Returns the index of the first surface with this name held within this ArrayMesh. If none are found, -1 is returned.

long surfaceFindByName (
  const(String) name
) nothrow @nogc const;