Struct bool3x4
A 3x4 matrix of bools.
Namespace: Unity.Mathematics
Syntax
public struct bool3x4 : System.IEquatable<bool3x4>
Constructors
Name | Description |
---|---|
bool3x4(Boolean) | Constructs a bool3x4 matrix from a single bool value by assigning it to every component. |
bool3x4(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) | Constructs a bool3x4 matrix from 12 bool values given in row-major order. |
bool3x4(bool3, bool3, bool3, bool3) | Constructs a bool3x4 matrix from four bool3 vectors. |
Fields
Name | Description |
---|---|
c0 | Column 0 of the matrix. |
c1 | Column 1 of the matrix. |
c2 | Column 2 of the matrix. |
c3 | Column 3 of the matrix. |
Properties
Name | Description |
---|---|
Item[Int32] | Returns the bool3 element at a specified index. |
Methods
Name | Description |
---|---|
Equals(Object) | Returns true if the bool3x4 is equal to a given bool3x4, false otherwise. |
Equals(bool3x4) | Returns true if the bool3x4 is equal to a given bool3x4, false otherwise. |
GetHashCode() | Returns a hash code for the bool3x4. |
ToString() | Returns a string representation of the bool3x4. |
Operators
Name | Description |
---|---|
BitwiseAnd(Boolean, bool3x4) | Returns the result of a componentwise bitwise and operation on a bool value and a bool3x4 matrix. |
BitwiseAnd(bool3x4, Boolean) | Returns the result of a componentwise bitwise and operation on a bool3x4 matrix and a bool value. |
BitwiseAnd(bool3x4, bool3x4) | Returns the result of a componentwise bitwise and operation on two bool3x4 matrices. |
BitwiseOr(Boolean, bool3x4) | Returns the result of a componentwise bitwise or operation on a bool value and a bool3x4 matrix. |
BitwiseOr(bool3x4, Boolean) | Returns the result of a componentwise bitwise or operation on a bool3x4 matrix and a bool value. |
BitwiseOr(bool3x4, bool3x4) | Returns the result of a componentwise bitwise or operation on two bool3x4 matrices. |
Equality(Boolean, bool3x4) | Returns the result of a componentwise equality operation on a bool value and a bool3x4 matrix. |
Equality(bool3x4, Boolean) | Returns the result of a componentwise equality operation on a bool3x4 matrix and a bool value. |
Equality(bool3x4, bool3x4) | Returns the result of a componentwise equality operation on two bool3x4 matrices. |
ExclusiveOr(Boolean, bool3x4) | Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool3x4 matrix. |
ExclusiveOr(bool3x4, Boolean) | Returns the result of a componentwise bitwise exclusive or operation on a bool3x4 matrix and a bool value. |
ExclusiveOr(bool3x4, bool3x4) | Returns the result of a componentwise bitwise exclusive or operation on two bool3x4 matrices. |
Implicit(Boolean to bool3x4) | Implicitly converts a single bool value to a bool3x4 matrix by assigning it to every component. |
Inequality(Boolean, bool3x4) | Returns the result of a componentwise not equal operation on a bool value and a bool3x4 matrix. |
Inequality(bool3x4, Boolean) | Returns the result of a componentwise not equal operation on a bool3x4 matrix and a bool value. |
Inequality(bool3x4, bool3x4) | Returns the result of a componentwise not equal operation on two bool3x4 matrices. |
LogicalNot(bool3x4) | Returns the result of a componentwise not operation on a bool3x4 matrix. |