public void SetMaterialSelected(int materialIndex, bool selected) { _materialMask = BitwiseKit.SetBit(_materialMask, materialIndex, selected); }
public bool IsMaterialSelected(int materialIndex) { return BitwiseKit.GetBit(_materialMask, materialIndex); }