Struct bool4x2
A 4x2 matrix of bools.
Implements
Inherited Members
Namespace: Unity.Mathematics
Assembly: Unity.Mathematics.dll
Syntax
[Serializable]
public struct bool4x2 : IEquatable<bool4x2>
  Constructors
| Name | Description | 
|---|---|
| bool4x2(bool) | Constructs a bool4x2 matrix from a single bool value by assigning it to every component.  | 
      
| bool4x2(bool, bool, bool, bool, bool, bool, bool, bool) | Constructs a bool4x2 matrix from 8 bool values given in row-major order.  | 
      
| bool4x2(bool4, bool4) | Constructs a bool4x2 matrix from two bool4 vectors.  | 
      
Fields
| Name | Description | 
|---|---|
| c0 | Column 0 of the matrix.  | 
      
| c1 | Column 1 of the matrix.  | 
      
Properties
| Name | Description | 
|---|---|
| this[int] | Returns the bool4 element at a specified index.  | 
      
Methods
| Name | Description | 
|---|---|
| Equals(object) | Returns true if the bool4x2 is equal to a given bool4x2, false otherwise.  | 
      
| Equals(bool4x2) | Returns true if the bool4x2 is equal to a given bool4x2, false otherwise.  | 
      
| GetHashCode() | Returns a hash code for the bool4x2.  | 
      
| ToString() | Returns a string representation of the bool4x2.  | 
      
Operators
| Name | Description | 
|---|---|
| operator &(bool, bool4x2) | Returns the result of a componentwise bitwise and operation on a bool value and a bool4x2 matrix.  | 
      
| operator &(bool4x2, bool) | Returns the result of a componentwise bitwise and operation on a bool4x2 matrix and a bool value.  | 
      
| operator &(bool4x2, bool4x2) | Returns the result of a componentwise bitwise and operation on two bool4x2 matrices.  | 
      
| operator |(bool, bool4x2) | Returns the result of a componentwise bitwise or operation on a bool value and a bool4x2 matrix.  | 
      
| operator |(bool4x2, bool) | Returns the result of a componentwise bitwise or operation on a bool4x2 matrix and a bool value.  | 
      
| operator |(bool4x2, bool4x2) | Returns the result of a componentwise bitwise or operation on two bool4x2 matrices.  | 
      
| operator ==(bool, bool4x2) | Returns the result of a componentwise equality operation on a bool value and a bool4x2 matrix.  | 
      
| operator ==(bool4x2, bool) | Returns the result of a componentwise equality operation on a bool4x2 matrix and a bool value.  | 
      
| operator ==(bool4x2, bool4x2) | Returns the result of a componentwise equality operation on two bool4x2 matrices.  | 
      
| operator ^(bool, bool4x2) | Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool4x2 matrix.  | 
      
| operator ^(bool4x2, bool) | Returns the result of a componentwise bitwise exclusive or operation on a bool4x2 matrix and a bool value.  | 
      
| operator ^(bool4x2, bool4x2) | Returns the result of a componentwise bitwise exclusive or operation on two bool4x2 matrices.  | 
      
| implicit operator bool4x2(bool) | Implicitly converts a single bool value to a bool4x2 matrix by assigning it to every component.  | 
      
| operator !=(bool, bool4x2) | Returns the result of a componentwise not equal operation on a bool value and a bool4x2 matrix.  | 
      
| operator !=(bool4x2, bool) | Returns the result of a componentwise not equal operation on a bool4x2 matrix and a bool value.  | 
      
| operator !=(bool4x2, bool4x2) | Returns the result of a componentwise not equal operation on two bool4x2 matrices.  | 
      
| operator !(bool4x2) | Returns the result of a componentwise not operation on a bool4x2 matrix.  |