setMaterial method

void setMaterial(
  1. Material material
)

Implementation

void setMaterial(Material material) => _lastMaterial = material;