Struct bool3
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
[Serializable]
public struct bool3 : IEquatable<bool3>
Constructors
bool3(Boolean)
Constructs a bool3 vector from a single bool value by assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
bool3(Boolean, Boolean, Boolean)
Constructs a bool3 vector from three bool values.
Declaration
public bool3(bool x, bool y, bool z)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
System.Boolean |
y |
|
System.Boolean |
z |
|
bool3(Boolean, bool2)
Constructs a bool3 vector from a bool value and a bool2 vector.
Declaration
public bool3(bool x, bool2 yz)
Parameters
Type |
Name |
Description |
System.Boolean |
x |
|
bool2 |
yz |
|
bool3(bool2, Boolean)
Constructs a bool3 vector from a bool2 vector and a bool value.
Declaration
public bool3(bool2 xy, bool z)
Parameters
Type |
Name |
Description |
bool2 |
xy |
|
System.Boolean |
z |
|
bool3(bool3)
Constructs a bool3 vector from a bool3 vector.
Declaration
Parameters
Type |
Name |
Description |
bool3 |
xyz |
|
Fields
x
Declaration
Field Value
Type |
Description |
System.Boolean |
|
y
Declaration
Field Value
Type |
Description |
System.Boolean |
|
z
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Properties
Item[Int32]
Returns the bool element at a specified index.
Declaration
public bool this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Boolean |
|
xx
Declaration
Property Value
xxx
Declaration
public bool3 xxx { get; }
Property Value
xxxx
Declaration
public bool4 xxxx { get; }
Property Value
xxxy
Declaration
public bool4 xxxy { get; }
Property Value
xxxz
Declaration
public bool4 xxxz { get; }
Property Value
xxy
Declaration
public bool3 xxy { get; }
Property Value
xxyx
Declaration
public bool4 xxyx { get; }
Property Value
xxyy
Declaration
public bool4 xxyy { get; }
Property Value
xxyz
Declaration
public bool4 xxyz { get; }
Property Value
xxz
Declaration
public bool3 xxz { get; }
Property Value
xxzx
Declaration
public bool4 xxzx { get; }
Property Value
xxzy
Declaration
public bool4 xxzy { get; }
Property Value
xxzz
Declaration
public bool4 xxzz { get; }
Property Value
xy
Declaration
public bool2 xy { get; set; }
Property Value
xyx
Declaration
public bool3 xyx { get; }
Property Value
xyxx
Declaration
public bool4 xyxx { get; }
Property Value
xyxy
Declaration
public bool4 xyxy { get; }
Property Value
xyxz
Declaration
public bool4 xyxz { get; }
Property Value
xyy
Declaration
public bool3 xyy { get; }
Property Value
xyyx
Declaration
public bool4 xyyx { get; }
Property Value
xyyy
Declaration
public bool4 xyyy { get; }
Property Value
xyyz
Declaration
public bool4 xyyz { get; }
Property Value
xyz
Declaration
public bool3 xyz { get; set; }
Property Value
xyzx
Declaration
public bool4 xyzx { get; }
Property Value
xyzy
Declaration
public bool4 xyzy { get; }
Property Value
xyzz
Declaration
public bool4 xyzz { get; }
Property Value
xz
Declaration
public bool2 xz { get; set; }
Property Value
xzx
Declaration
public bool3 xzx { get; }
Property Value
xzxx
Declaration
public bool4 xzxx { get; }
Property Value
xzxy
Declaration
public bool4 xzxy { get; }
Property Value
xzxz
Declaration
public bool4 xzxz { get; }
Property Value
xzy
Declaration
public bool3 xzy { get; set; }
Property Value
xzyx
Declaration
public bool4 xzyx { get; }
Property Value
xzyy
Declaration
public bool4 xzyy { get; }
Property Value
xzyz
Declaration
public bool4 xzyz { get; }
Property Value
xzz
Declaration
public bool3 xzz { get; }
Property Value
xzzx
Declaration
public bool4 xzzx { get; }
Property Value
xzzy
Declaration
public bool4 xzzy { get; }
Property Value
xzzz
Declaration
public bool4 xzzz { get; }
Property Value
yx
Declaration
public bool2 yx { get; set; }
Property Value
yxx
Declaration
public bool3 yxx { get; }
Property Value
yxxx
Declaration
public bool4 yxxx { get; }
Property Value
yxxy
Declaration
public bool4 yxxy { get; }
Property Value
yxxz
Declaration
public bool4 yxxz { get; }
Property Value
yxy
Declaration
public bool3 yxy { get; }
Property Value
yxyx
Declaration
public bool4 yxyx { get; }
Property Value
yxyy
Declaration
public bool4 yxyy { get; }
Property Value
yxyz
Declaration
public bool4 yxyz { get; }
Property Value
yxz
Declaration
public bool3 yxz { get; set; }
Property Value
yxzx
Declaration
public bool4 yxzx { get; }
Property Value
yxzy
Declaration
public bool4 yxzy { get; }
Property Value
yxzz
Declaration
public bool4 yxzz { get; }
Property Value
yy
Declaration
Property Value
yyx
Declaration
public bool3 yyx { get; }
Property Value
yyxx
Declaration
public bool4 yyxx { get; }
Property Value
yyxy
Declaration
public bool4 yyxy { get; }
Property Value
yyxz
Declaration
public bool4 yyxz { get; }
Property Value
yyy
Declaration
public bool3 yyy { get; }
Property Value
yyyx
Declaration
public bool4 yyyx { get; }
Property Value
yyyy
Declaration
public bool4 yyyy { get; }
Property Value
yyyz
Declaration
public bool4 yyyz { get; }
Property Value
yyz
Declaration
public bool3 yyz { get; }
Property Value
yyzx
Declaration
public bool4 yyzx { get; }
Property Value
yyzy
Declaration
public bool4 yyzy { get; }
Property Value
yyzz
Declaration
public bool4 yyzz { get; }
Property Value
yz
Declaration
public bool2 yz { get; set; }
Property Value
yzx
Declaration
public bool3 yzx { get; set; }
Property Value
yzxx
Declaration
public bool4 yzxx { get; }
Property Value
yzxy
Declaration
public bool4 yzxy { get; }
Property Value
yzxz
Declaration
public bool4 yzxz { get; }
Property Value
yzy
Declaration
public bool3 yzy { get; }
Property Value
yzyx
Declaration
public bool4 yzyx { get; }
Property Value
yzyy
Declaration
public bool4 yzyy { get; }
Property Value
yzyz
Declaration
public bool4 yzyz { get; }
Property Value
yzz
Declaration
public bool3 yzz { get; }
Property Value
yzzx
Declaration
public bool4 yzzx { get; }
Property Value
yzzy
Declaration
public bool4 yzzy { get; }
Property Value
yzzz
Declaration
public bool4 yzzz { get; }
Property Value
zx
Declaration
public bool2 zx { get; set; }
Property Value
zxx
Declaration
public bool3 zxx { get; }
Property Value
zxxx
Declaration
public bool4 zxxx { get; }
Property Value
zxxy
Declaration
public bool4 zxxy { get; }
Property Value
zxxz
Declaration
public bool4 zxxz { get; }
Property Value
zxy
Declaration
public bool3 zxy { get; set; }
Property Value
zxyx
Declaration
public bool4 zxyx { get; }
Property Value
zxyy
Declaration
public bool4 zxyy { get; }
Property Value
zxyz
Declaration
public bool4 zxyz { get; }
Property Value
zxz
Declaration
public bool3 zxz { get; }
Property Value
zxzx
Declaration
public bool4 zxzx { get; }
Property Value
zxzy
Declaration
public bool4 zxzy { get; }
Property Value
zxzz
Declaration
public bool4 zxzz { get; }
Property Value
zy
Declaration
public bool2 zy { get; set; }
Property Value
zyx
Declaration
public bool3 zyx { get; set; }
Property Value
zyxx
Declaration
public bool4 zyxx { get; }
Property Value
zyxy
Declaration
public bool4 zyxy { get; }
Property Value
zyxz
Declaration
public bool4 zyxz { get; }
Property Value
zyy
Declaration
public bool3 zyy { get; }
Property Value
zyyx
Declaration
public bool4 zyyx { get; }
Property Value
zyyy
Declaration
public bool4 zyyy { get; }
Property Value
zyyz
Declaration
public bool4 zyyz { get; }
Property Value
zyz
Declaration
public bool3 zyz { get; }
Property Value
zyzx
Declaration
public bool4 zyzx { get; }
Property Value
zyzy
Declaration
public bool4 zyzy { get; }
Property Value
zyzz
Declaration
public bool4 zyzz { get; }
Property Value
zz
Declaration
Property Value
zzx
Declaration
public bool3 zzx { get; }
Property Value
zzxx
Declaration
public bool4 zzxx { get; }
Property Value
zzxy
Declaration
public bool4 zzxy { get; }
Property Value
zzxz
Declaration
public bool4 zzxz { get; }
Property Value
zzy
Declaration
public bool3 zzy { get; }
Property Value
zzyx
Declaration
public bool4 zzyx { get; }
Property Value
zzyy
Declaration
public bool4 zzyy { get; }
Property Value
zzyz
Declaration
public bool4 zzyz { get; }
Property Value
zzz
Declaration
public bool3 zzz { get; }
Property Value
zzzx
Declaration
public bool4 zzzx { get; }
Property Value
zzzy
Declaration
public bool4 zzzy { get; }
Property Value
zzzz
Declaration
public bool4 zzzz { get; }
Property Value
Methods
Equals(Object)
Returns true if the bool3 is equal to a given bool3, false otherwise.
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(bool3)
Returns true if the bool3 is equal to a given bool3, false otherwise.
Declaration
public bool Equals(bool3 rhs)
Parameters
Type |
Name |
Description |
bool3 |
rhs |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
GetHashCode()
Returns a hash code for the bool3.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Returns a string representation of the bool3.
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
BitwiseAnd(Boolean, bool3)
Returns the result of a componentwise bitwise and operation on a bool value and a bool3 vector.
Declaration
public static bool3 operator &(bool lhs, bool3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3 |
rhs |
|
Returns
BitwiseAnd(bool3, Boolean)
Returns the result of a componentwise bitwise and operation on a bool3 vector and a bool value.
Declaration
public static bool3 operator &(bool3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
BitwiseAnd(bool3, bool3)
Returns the result of a componentwise bitwise and operation on two bool3 vectors.
Declaration
public static bool3 operator &(bool3 lhs, bool3 rhs)
Parameters
Returns
BitwiseOr(Boolean, bool3)
Returns the result of a componentwise bitwise or operation on a bool value and a bool3 vector.
Declaration
public static bool3 operator |(bool lhs, bool3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3 |
rhs |
|
Returns
BitwiseOr(bool3, Boolean)
Returns the result of a componentwise bitwise or operation on a bool3 vector and a bool value.
Declaration
public static bool3 operator |(bool3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
BitwiseOr(bool3, bool3)
Returns the result of a componentwise bitwise or operation on two bool3 vectors.
Declaration
public static bool3 operator |(bool3 lhs, bool3 rhs)
Parameters
Returns
Equality(Boolean, bool3)
Returns the result of a componentwise equality operation on a bool value and a bool3 vector.
Declaration
public static bool3 operator ==(bool lhs, bool3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3 |
rhs |
|
Returns
Equality(bool3, Boolean)
Returns the result of a componentwise equality operation on a bool3 vector and a bool value.
Declaration
public static bool3 operator ==(bool3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
Equality(bool3, bool3)
Returns the result of a componentwise equality operation on two bool3 vectors.
Declaration
public static bool3 operator ==(bool3 lhs, bool3 rhs)
Parameters
Returns
ExclusiveOr(Boolean, bool3)
Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool3 vector.
Declaration
public static bool3 operator ^(bool lhs, bool3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3 |
rhs |
|
Returns
ExclusiveOr(bool3, Boolean)
Returns the result of a componentwise bitwise exclusive or operation on a bool3 vector and a bool value.
Declaration
public static bool3 operator ^(bool3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
ExclusiveOr(bool3, bool3)
Returns the result of a componentwise bitwise exclusive or operation on two bool3 vectors.
Declaration
public static bool3 operator ^(bool3 lhs, bool3 rhs)
Parameters
Returns
Implicit(Boolean to bool3)
Implicitly converts a single bool value to a bool3 vector by assigning it to every component.
Declaration
public static implicit operator bool3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
Inequality(Boolean, bool3)
Returns the result of a componentwise not equal operation on a bool value and a bool3 vector.
Declaration
public static bool3 operator !=(bool lhs, bool3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3 |
rhs |
|
Returns
Inequality(bool3, Boolean)
Returns the result of a componentwise not equal operation on a bool3 vector and a bool value.
Declaration
public static bool3 operator !=(bool3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
Inequality(bool3, bool3)
Returns the result of a componentwise not equal operation on two bool3 vectors.
Declaration
public static bool3 operator !=(bool3 lhs, bool3 rhs)
Parameters
Returns
LogicalNot(bool3)
Returns the result of a componentwise not operation on a bool3 vector.
Declaration
public static bool3 operator !(bool3 val)
Parameters
Type |
Name |
Description |
bool3 |
val |
|
Returns