A 2 component vector of bools.
| Property | Description |
|---|---|
| this[int] | Returns the bool element at a specified index. |
| x | x component of the vector. |
| xx | Swizzles the vector. |
| xxx | Swizzles the vector. |
| xxxx | Swizzles the vector. |
| xxxy | Swizzles the vector. |
| xxy | Swizzles the vector. |
| xxyx | Swizzles the vector. |
| xxyy | Swizzles the vector. |
| xy | Swizzles the vector. |
| xyx | Swizzles the vector. |
| xyxx | Swizzles the vector. |
| xyxy | Swizzles the vector. |
| xyy | Swizzles the vector. |
| xyyx | Swizzles the vector. |
| xyyy | Swizzles the vector. |
| y | y component of the vector. |
| yx | Swizzles the vector. |
| yxx | Swizzles the vector. |
| yxxx | Swizzles the vector. |
| yxxy | Swizzles the vector. |
| yxy | Swizzles the vector. |
| yxyx | Swizzles the vector. |
| yxyy | Swizzles the vector. |
| yy | Swizzles the vector. |
| yyx | Swizzles the vector. |
| yyxx | Swizzles the vector. |
| yyxy | Swizzles the vector. |
| yyy | Swizzles the vector. |
| yyyx | Swizzles the vector. |
| yyyy | Swizzles the vector. |
| Constructor | Description |
|---|---|
| bool2 | Constructs a bool2 vector from two bool values. |
| Method | Description |
|---|---|
| Equals | Returns true if the bool2 is equal to a given bool2, false otherwise. |
| GetHashCode | Returns a hash code for the bool2. |
| ToString | Returns a string representation of the bool2. |
| Operator | Description |
|---|---|
| bool2 | Implicitly converts a single bool value to a bool2 vector by assigning it to every component. |
| operator ! | Returns the result of a componentwise not operation on a bool2 vector. |
| operator != | Returns the result of a componentwise not equal operation on two bool2 vectors. |
| operator & | Returns the result of a componentwise bitwise and operation on two bool2 vectors. |
| operator ^ | Returns the result of a componentwise bitwise exclusive or operation on two bool2 vectors. |
| operator == | Returns the result of a componentwise equality operation on two bool2 vectors. |
| operator | | Returns the result of a componentwise bitwise or operation on two bool2 vectors. |