Scripting API

int2x4

struct in Unity.Mathematics · Unity.Mathematics

32 of 32 of Unity's members

Constructors 1

int2x4(int2 c0, int2 c1, int2 c2, int2 c3)
int2x4(int m00, int m01, int m02, int m03, int m10, int m11, int m12, int m13)
int2x4(int v)
int2x4(bool v)
int2x4(bool2x4 v)
int2x4(uint v)
int2x4(uint2x4 v)
int2x4(float v)
int2x4(float2x4 v)
int2x4(double v)
int2x4(double2x4 v)

Fields 5

int2 c0
int2 c1
int2 c2
int2 c3
static readonly int2x4 zero

Properties 1

ref int2 this[int index] { get; }

Methods 3

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

Operators 21

static explicit operator int2x4(bool v)
static explicit operator int2x4(bool2x4 v)
static explicit operator int2x4(uint v)
static explicit operator int2x4(uint2x4 v)
static explicit operator int2x4(float v)
static explicit operator int2x4(float2x4 v)
static explicit operator int2x4(double v)
static explicit operator int2x4(double2x4 v)
static implicit operator int2x4(int v)
static bool2x4 operator !=(int2x4 lhs, int2x4 rhs)
static bool2x4 operator !=(int2x4 lhs, int rhs)
static bool2x4 operator !=(int lhs, int2x4 rhs)
static int2x4 operator %(int2x4 lhs, int2x4 rhs)
static int2x4 operator %(int2x4 lhs, int rhs)
static int2x4 operator %(int lhs, int2x4 rhs)
static int2x4 operator &(int2x4 lhs, int2x4 rhs)
static int2x4 operator &(int2x4 lhs, int rhs)
static int2x4 operator &(int lhs, int2x4 rhs)
static int2x4 operator *(int2x4 lhs, int2x4 rhs)
static int2x4 operator *(int2x4 lhs, int rhs)
static int2x4 operator *(int lhs, int2x4 rhs)
static int2x4 operator +(int2x4 lhs, int2x4 rhs)
static int2x4 operator +(int2x4 lhs, int rhs)
static int2x4 operator +(int lhs, int2x4 rhs)
static int2x4 operator +(int2x4 val)
static int2x4 operator ++(int2x4 val)
static int2x4 operator -(int2x4 lhs, int2x4 rhs)
static int2x4 operator -(int2x4 lhs, int rhs)
static int2x4 operator -(int lhs, int2x4 rhs)
static int2x4 operator -(int2x4 val)
static int2x4 operator --(int2x4 val)
static int2x4 operator /(int2x4 lhs, int2x4 rhs)
static int2x4 operator /(int2x4 lhs, int rhs)
static int2x4 operator /(int lhs, int2x4 rhs)
static bool2x4 operator <(int2x4 lhs, int2x4 rhs)
static bool2x4 operator <(int2x4 lhs, int rhs)
static bool2x4 operator <(int lhs, int2x4 rhs)
static int2x4 operator <<(int2x4 x, int n)
static bool2x4 operator <=(int2x4 lhs, int2x4 rhs)
static bool2x4 operator <=(int2x4 lhs, int rhs)
static bool2x4 operator <=(int lhs, int2x4 rhs)
static bool2x4 operator ==(int2x4 lhs, int2x4 rhs)
static bool2x4 operator ==(int2x4 lhs, int rhs)
static bool2x4 operator ==(int lhs, int2x4 rhs)
static bool2x4 operator >(int2x4 lhs, int2x4 rhs)
static bool2x4 operator >(int2x4 lhs, int rhs)
static bool2x4 operator >(int lhs, int2x4 rhs)
static bool2x4 operator >=(int2x4 lhs, int2x4 rhs)
static bool2x4 operator >=(int2x4 lhs, int rhs)
static bool2x4 operator >=(int lhs, int2x4 rhs)
static int2x4 operator >>(int2x4 x, int n)
static int2x4 operator ^(int2x4 lhs, int2x4 rhs)
static int2x4 operator ^(int2x4 lhs, int rhs)
static int2x4 operator ^(int lhs, int2x4 rhs)
static int2x4 operator |(int2x4 lhs, int2x4 rhs)
static int2x4 operator |(int2x4 lhs, int rhs)
static int2x4 operator |(int lhs, int2x4 rhs)
static int2x4 operator ~(int2x4 val)