private void SetMaterial(string materialName) { this.CurrentGroup.Material = this.CurrentMaterial = this.GetMaterial(materialName); }