Changed constructor argument names, reworked end cap face UVs, added end cap material index.