setMaterialSlot method

void setMaterialSlot(
  1. int face,
  2. int slot
)

Puts face in material slot slot.

Implementation

void setMaterialSlot(int face, int slot) {
  _wrote = true;
  _intLayer(
    _materialSlot,
    _faceSlots,
    (JournalledInts it) => _materialSlot = it,
  ).write(face, slot);
}