Scripting API

int2x2

struct in Unity.Mathematics · Unity.Mathematics

31 of 31 of Unity's members

Constructors 1

int2x2(int2 c0, int2 c1)
int2x2(int m00, int m01, int m10, int m11)
int2x2(int v)
int2x2(bool v)
int2x2(bool2x2 v)
int2x2(uint v)
int2x2(uint2x2 v)
int2x2(float v)
int2x2(float2x2 v)
int2x2(double v)
int2x2(double2x2 v)

Fields 4

int2 c0
int2 c1
static readonly int2x2 identity
static readonly int2x2 zero

Properties 1

ref int2 this[int index] { get; }

Methods 3

readonly bool Equals(int2x2 rhs)
readonly bool Equals(object? o)
readonly int GetHashCode()
readonly string ToString()
readonly string ToString(string? format, IFormatProvider? formatProvider)

Operators 21

static explicit operator int2x2(bool v)
static explicit operator int2x2(bool2x2 v)
static explicit operator int2x2(uint v)
static explicit operator int2x2(uint2x2 v)
static explicit operator int2x2(float v)
static explicit operator int2x2(float2x2 v)
static explicit operator int2x2(double v)
static explicit operator int2x2(double2x2 v)
static implicit operator int2x2(int v)
static bool2x2 operator !=(int2x2 lhs, int2x2 rhs)
static bool2x2 operator !=(int2x2 lhs, int rhs)
static bool2x2 operator !=(int lhs, int2x2 rhs)
static int2x2 operator %(int2x2 lhs, int2x2 rhs)
static int2x2 operator %(int2x2 lhs, int rhs)
static int2x2 operator %(int lhs, int2x2 rhs)
static int2x2 operator &(int2x2 lhs, int2x2 rhs)
static int2x2 operator &(int2x2 lhs, int rhs)
static int2x2 operator &(int lhs, int2x2 rhs)
static int2x2 operator *(int2x2 lhs, int2x2 rhs)
static int2x2 operator *(int2x2 lhs, int rhs)
static int2x2 operator *(int lhs, int2x2 rhs)
static int2x2 operator +(int2x2 lhs, int2x2 rhs)
static int2x2 operator +(int2x2 lhs, int rhs)
static int2x2 operator +(int lhs, int2x2 rhs)
static int2x2 operator +(int2x2 val)
static int2x2 operator ++(int2x2 val)
static int2x2 operator -(int2x2 lhs, int2x2 rhs)
static int2x2 operator -(int2x2 lhs, int rhs)
static int2x2 operator -(int lhs, int2x2 rhs)
static int2x2 operator -(int2x2 val)
static int2x2 operator --(int2x2 val)
static int2x2 operator /(int2x2 lhs, int2x2 rhs)
static int2x2 operator /(int2x2 lhs, int rhs)
static int2x2 operator /(int lhs, int2x2 rhs)
static bool2x2 operator <(int2x2 lhs, int2x2 rhs)
static bool2x2 operator <(int2x2 lhs, int rhs)
static bool2x2 operator <(int lhs, int2x2 rhs)
static int2x2 operator <<(int2x2 x, int n)
static bool2x2 operator <=(int2x2 lhs, int2x2 rhs)
static bool2x2 operator <=(int2x2 lhs, int rhs)
static bool2x2 operator <=(int lhs, int2x2 rhs)
static bool2x2 operator ==(int2x2 lhs, int2x2 rhs)
static bool2x2 operator ==(int2x2 lhs, int rhs)
static bool2x2 operator ==(int lhs, int2x2 rhs)
static bool2x2 operator >(int2x2 lhs, int2x2 rhs)
static bool2x2 operator >(int2x2 lhs, int rhs)
static bool2x2 operator >(int lhs, int2x2 rhs)
static bool2x2 operator >=(int2x2 lhs, int2x2 rhs)
static bool2x2 operator >=(int2x2 lhs, int rhs)
static bool2x2 operator >=(int lhs, int2x2 rhs)
static int2x2 operator >>(int2x2 x, int n)
static int2x2 operator ^(int2x2 lhs, int2x2 rhs)
static int2x2 operator ^(int2x2 lhs, int rhs)
static int2x2 operator ^(int lhs, int2x2 rhs)
static int2x2 operator |(int2x2 lhs, int2x2 rhs)
static int2x2 operator |(int2x2 lhs, int rhs)
static int2x2 operator |(int lhs, int2x2 rhs)
static int2x2 operator ~(int2x2 val)