Bool3
Struct in Zigurous.Architecture
Declaration
[Serializable]
public struct Bool3 : IEquatable<Bool3>
Description
Stores a tuple of 3 booleans.
Static Properties
False | Shorthand for writing Bool3(false, false, false) . |
True | Shorthand for writing Bool3(true, true, true) . |
X | Shorthand for writing Bool3(true, false, false) . |
Y | Shorthand for writing Bool3(false, true, false) . |
Z | Shorthand for writing Bool3(false, false, true) . |
Properties
x | The X component. |
y | The Y component. |
z | The Z component. |
Item[int] | Gets or sets the component at the specified index. |
Constructors
Bool3 | Creates a new Bool3 with the specified values. |
Methods
Equals | Determines if the tuple is equal to another. |
GetHashCode | Returns the hash code of the tuple. |
ToString | Converts the tuple to a string. |
Operators
Equality | Determines if two tuples are equal. |
Inequality | Determines if two tuples are not equal. |
BitwiseAnd | Performs a bitwise AND operation on two tuples. |
BitwiseOr | Performs a bitwise OR operation on two tuples. |
ExclusiveOr | Performs a bitwise XOR operation on two tuples. |
LogicalNot | Performs a logical negation operation on a tuple. |