Struct bool3
A 3 component vector of bools.
Implements
Inherited Members
Namespace: Unity.Mathematics
Assembly: solution.dll
Syntax
[Serializable]
public struct bool3 : IEquatable<bool3>
Constructors
Name | Description |
---|---|
bool3(bool) | Constructs a bool3 vector from a single bool value by assigning it to every component. |
bool3(bool, bool, bool) | Constructs a bool3 vector from three bool values. |
bool3(bool, bool2) | Constructs a bool3 vector from a bool value and a bool2 vector. |
bool3(bool2, bool) | Constructs a bool3 vector from a bool2 vector and a bool value. |
bool3(bool3) | Constructs a bool3 vector from a bool3 vector. |
Fields
Name | Description |
---|---|
x | x component of the vector. |
y | y component of the vector. |
z | z component of the vector. |
Properties
Name | Description |
---|---|
this[int] | Returns the bool element at a specified index. |
Methods
Name | Description |
---|---|
Equals(object) | Returns true if the bool3 is equal to a given bool3, false otherwise. |
Equals(bool3) | Returns true if the bool3 is equal to a given bool3, false otherwise. |
GetHashCode() | Returns a hash code for the bool3. |
ToString() | Returns a string representation of the bool3. |
Operators
Name | Description |
---|---|
operator &(bool, bool3) | Returns the result of a componentwise bitwise and operation on a bool value and a bool3 vector. |
operator &(bool3, bool) | Returns the result of a componentwise bitwise and operation on a bool3 vector and a bool value. |
operator &(bool3, bool3) | Returns the result of a componentwise bitwise and operation on two bool3 vectors. |
operator |(bool, bool3) | Returns the result of a componentwise bitwise or operation on a bool value and a bool3 vector. |
operator |(bool3, bool) | Returns the result of a componentwise bitwise or operation on a bool3 vector and a bool value. |
operator |(bool3, bool3) | Returns the result of a componentwise bitwise or operation on two bool3 vectors. |
operator ==(bool, bool3) | Returns the result of a componentwise equality operation on a bool value and a bool3 vector. |
operator ==(bool3, bool) | Returns the result of a componentwise equality operation on a bool3 vector and a bool value. |
operator ==(bool3, bool3) | Returns the result of a componentwise equality operation on two bool3 vectors. |
operator ^(bool, bool3) | Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool3 vector. |
operator ^(bool3, bool) | Returns the result of a componentwise bitwise exclusive or operation on a bool3 vector and a bool value. |
operator ^(bool3, bool3) | Returns the result of a componentwise bitwise exclusive or operation on two bool3 vectors. |
implicit operator bool3(bool) | Implicitly converts a single bool value to a bool3 vector by assigning it to every component. |
operator !=(bool, bool3) | Returns the result of a componentwise not equal operation on a bool value and a bool3 vector. |
operator !=(bool3, bool) | Returns the result of a componentwise not equal operation on a bool3 vector and a bool value. |
operator !=(bool3, bool3) | Returns the result of a componentwise not equal operation on two bool3 vectors. |
operator !(bool3) | Returns the result of a componentwise not operation on a bool3 vector. |