Scripting API

bool2

struct in Unity.Mathematics · Unity.Mathematics

42 of 42 of Unity's members

Constructors 1

bool2(bool x, bool y)
bool2(bool2 xy)
bool2(bool v)

Fields 2

bool x
bool y

Properties 29

bool this[int index] { get; set; }
readonly bool2 xx { get; }
readonly bool3 xxx { get; }
readonly bool4 xxxx { get; }
readonly bool4 xxxy { get; }
readonly bool3 xxy { get; }
readonly bool4 xxyx { get; }
readonly bool4 xxyy { get; }
bool2 xy { get; set; }
readonly bool3 xyx { get; }
readonly bool4 xyxx { get; }
readonly bool4 xyxy { get; }
readonly bool3 xyy { get; }
readonly bool4 xyyx { get; }
readonly bool4 xyyy { get; }
bool2 yx { get; set; }
readonly bool3 yxx { get; }
readonly bool4 yxxx { get; }
readonly bool4 yxxy { get; }
readonly bool3 yxy { get; }
readonly bool4 yxyx { get; }
readonly bool4 yxyy { get; }
readonly bool2 yy { get; }
readonly bool3 yyx { get; }
readonly bool4 yyxx { get; }
readonly bool4 yyxy { get; }
readonly bool3 yyy { get; }
readonly bool4 yyyx { get; }
readonly bool4 yyyy { get; }

Methods 3

readonly bool Equals(bool2 rhs)
readonly bool Equals(object? o)
readonly int GetHashCode()
readonly string ToString()

Operators 7

static implicit operator bool2(bool v)
static bool2 operator !(bool2 val)
static bool2 operator !=(bool2 lhs, bool2 rhs)
static bool2 operator !=(bool2 lhs, bool rhs)
static bool2 operator !=(bool lhs, bool2 rhs)
static bool2 operator &(bool2 lhs, bool2 rhs)
static bool2 operator &(bool2 lhs, bool rhs)
static bool2 operator &(bool lhs, bool2 rhs)
static bool2 operator ==(bool2 lhs, bool2 rhs)
static bool2 operator ==(bool2 lhs, bool rhs)
static bool2 operator ==(bool lhs, bool2 rhs)
static bool2 operator ^(bool2 lhs, bool2 rhs)
static bool2 operator ^(bool2 lhs, bool rhs)
static bool2 operator ^(bool lhs, bool2 rhs)
static bool2 operator |(bool2 lhs, bool2 rhs)
static bool2 operator |(bool2 lhs, bool rhs)
static bool2 operator |(bool lhs, bool2 rhs)