Table of Contents

Struct int3

Namespace
Misaki.HighPerformance.Mathematics
Assembly
Misaki.HighPerformance.Mathematics.dll
[NumericType(typeof(int), 4, 3, 1, "global::Misaki.HighPerformance.Mathematics.int", true, true, null, null)]
[NumericConvertable("(int){v}.{c}", new Type[] { typeof(uint3), typeof(float3), typeof(double3), typeof(bool3) })]
[NumericConvertable("(int){v}", new Type[] { typeof(uint), typeof(float), typeof(double) })]
public struct int3 : IEquatable<int3>
Implements
Inherited Members
Extension Methods

Constructors

int3(bool3)

public int3(bool3 v)

Parameters

v bool3

int3(double3)

public int3(double3 v)

Parameters

v double3

int3(float3)

public int3(float3 v)

Parameters

v float3

int3(int2, int)

public int3(int2 xy, int z)

Parameters

xy int2
z int

int3(int3)

public int3(int3 xyz)

Parameters

xyz int3

int3(uint3)

public int3(uint3 v)

Parameters

v uint3

int3(double)

public int3(double v)

Parameters

v double

int3(int)

public int3(int value)

Parameters

value int

int3(int, int2)

public int3(int x, int2 yz)

Parameters

x int
yz int2

int3(int, int, int)

public int3(int x, int y, int z)

Parameters

x int
y int
z int

int3(ReadOnlySpan<int>)

public int3(ReadOnlySpan<int> values)

Parameters

values ReadOnlySpan<int>

int3(float)

public int3(float v)

Parameters

v float

int3(uint)

public int3(uint v)

Parameters

v uint

Fields

x

public int x

Field Value

int

y

public int y

Field Value

int

z

public int z

Field Value

int

Properties

this[int]

public ref int this[int index] { get; }

Parameters

index int

Property Value

int

one

public static int3 one { get; }

Property Value

int3

unitX

public static int3 unitX { get; }

Property Value

int3

unitY

public static int3 unitY { get; }

Property Value

int3

unitZ

public static int3 unitZ { get; }

Property Value

int3

xx

[JsonIgnore]
public readonly int2 xx { get; }

Property Value

int2

xxx

[JsonIgnore]
public readonly int3 xxx { get; }

Property Value

int3

xxxx

[JsonIgnore]
public readonly int4 xxxx { get; }

Property Value

int4

xxxy

[JsonIgnore]
public readonly int4 xxxy { get; }

Property Value

int4

xxxz

[JsonIgnore]
public readonly int4 xxxz { get; }

Property Value

int4

xxy

[JsonIgnore]
public readonly int3 xxy { get; }

Property Value

int3

xxyx

[JsonIgnore]
public readonly int4 xxyx { get; }

Property Value

int4

xxyy

[JsonIgnore]
public readonly int4 xxyy { get; }

Property Value

int4

xxyz

[JsonIgnore]
public readonly int4 xxyz { get; }

Property Value

int4

xxz

[JsonIgnore]
public readonly int3 xxz { get; }

Property Value

int3

xxzx

[JsonIgnore]
public readonly int4 xxzx { get; }

Property Value

int4

xxzy

[JsonIgnore]
public readonly int4 xxzy { get; }

Property Value

int4

xxzz

[JsonIgnore]
public readonly int4 xxzz { get; }

Property Value

int4

xy

[JsonIgnore]
public int2 xy { get; set; }

Property Value

int2

xyx

[JsonIgnore]
public readonly int3 xyx { get; }

Property Value

int3

xyxx

[JsonIgnore]
public readonly int4 xyxx { get; }

Property Value

int4

xyxy

[JsonIgnore]
public readonly int4 xyxy { get; }

Property Value

int4

xyxz

[JsonIgnore]
public readonly int4 xyxz { get; }

Property Value

int4

xyy

[JsonIgnore]
public readonly int3 xyy { get; }

Property Value

int3

xyyx

[JsonIgnore]
public readonly int4 xyyx { get; }

Property Value

int4

xyyy

[JsonIgnore]
public readonly int4 xyyy { get; }

Property Value

int4

xyyz

[JsonIgnore]
public readonly int4 xyyz { get; }

Property Value

int4

xyz

[JsonIgnore]
public int3 xyz { get; set; }

Property Value

int3

xyzx

[JsonIgnore]
public readonly int4 xyzx { get; }

Property Value

int4

xyzy

[JsonIgnore]
public readonly int4 xyzy { get; }

Property Value

int4

xyzz

[JsonIgnore]
public readonly int4 xyzz { get; }

Property Value

int4

xz

[JsonIgnore]
public int2 xz { get; set; }

Property Value

int2

xzx

[JsonIgnore]
public readonly int3 xzx { get; }

Property Value

int3

xzxx

[JsonIgnore]
public readonly int4 xzxx { get; }

Property Value

int4

xzxy

[JsonIgnore]
public readonly int4 xzxy { get; }

Property Value

int4

xzxz

[JsonIgnore]
public readonly int4 xzxz { get; }

Property Value

int4

xzy

[JsonIgnore]
public int3 xzy { get; set; }

Property Value

int3

xzyx

[JsonIgnore]
public readonly int4 xzyx { get; }

Property Value

int4

xzyy

[JsonIgnore]
public readonly int4 xzyy { get; }

Property Value

int4

xzyz

[JsonIgnore]
public readonly int4 xzyz { get; }

Property Value

int4

xzz

[JsonIgnore]
public readonly int3 xzz { get; }

Property Value

int3

xzzx

[JsonIgnore]
public readonly int4 xzzx { get; }

Property Value

int4

xzzy

[JsonIgnore]
public readonly int4 xzzy { get; }

Property Value

int4

xzzz

[JsonIgnore]
public readonly int4 xzzz { get; }

Property Value

int4

yx

[JsonIgnore]
public int2 yx { get; set; }

Property Value

int2

yxx

[JsonIgnore]
public readonly int3 yxx { get; }

Property Value

int3

yxxx

[JsonIgnore]
public readonly int4 yxxx { get; }

Property Value

int4

yxxy

[JsonIgnore]
public readonly int4 yxxy { get; }

Property Value

int4

yxxz

[JsonIgnore]
public readonly int4 yxxz { get; }

Property Value

int4

yxy

[JsonIgnore]
public readonly int3 yxy { get; }

Property Value

int3

yxyx

[JsonIgnore]
public readonly int4 yxyx { get; }

Property Value

int4

yxyy

[JsonIgnore]
public readonly int4 yxyy { get; }

Property Value

int4

yxyz

[JsonIgnore]
public readonly int4 yxyz { get; }

Property Value

int4

yxz

[JsonIgnore]
public int3 yxz { get; set; }

Property Value

int3

yxzx

[JsonIgnore]
public readonly int4 yxzx { get; }

Property Value

int4

yxzy

[JsonIgnore]
public readonly int4 yxzy { get; }

Property Value

int4

yxzz

[JsonIgnore]
public readonly int4 yxzz { get; }

Property Value

int4

yy

[JsonIgnore]
public readonly int2 yy { get; }

Property Value

int2

yyx

[JsonIgnore]
public readonly int3 yyx { get; }

Property Value

int3

yyxx

[JsonIgnore]
public readonly int4 yyxx { get; }

Property Value

int4

yyxy

[JsonIgnore]
public readonly int4 yyxy { get; }

Property Value

int4

yyxz

[JsonIgnore]
public readonly int4 yyxz { get; }

Property Value

int4

yyy

[JsonIgnore]
public readonly int3 yyy { get; }

Property Value

int3

yyyx

[JsonIgnore]
public readonly int4 yyyx { get; }

Property Value

int4

yyyy

[JsonIgnore]
public readonly int4 yyyy { get; }

Property Value

int4

yyyz

[JsonIgnore]
public readonly int4 yyyz { get; }

Property Value

int4

yyz

[JsonIgnore]
public readonly int3 yyz { get; }

Property Value

int3

yyzx

[JsonIgnore]
public readonly int4 yyzx { get; }

Property Value

int4

yyzy

[JsonIgnore]
public readonly int4 yyzy { get; }

Property Value

int4

yyzz

[JsonIgnore]
public readonly int4 yyzz { get; }

Property Value

int4

yz

[JsonIgnore]
public int2 yz { get; set; }

Property Value

int2

yzx

[JsonIgnore]
public int3 yzx { get; set; }

Property Value

int3

yzxx

[JsonIgnore]
public readonly int4 yzxx { get; }

Property Value

int4

yzxy

[JsonIgnore]
public readonly int4 yzxy { get; }

Property Value

int4

yzxz

[JsonIgnore]
public readonly int4 yzxz { get; }

Property Value

int4

yzy

[JsonIgnore]
public readonly int3 yzy { get; }

Property Value

int3

yzyx

[JsonIgnore]
public readonly int4 yzyx { get; }

Property Value

int4

yzyy

[JsonIgnore]
public readonly int4 yzyy { get; }

Property Value

int4

yzyz

[JsonIgnore]
public readonly int4 yzyz { get; }

Property Value

int4

yzz

[JsonIgnore]
public readonly int3 yzz { get; }

Property Value

int3

yzzx

[JsonIgnore]
public readonly int4 yzzx { get; }

Property Value

int4

yzzy

[JsonIgnore]
public readonly int4 yzzy { get; }

Property Value

int4

yzzz

[JsonIgnore]
public readonly int4 yzzz { get; }

Property Value

int4

zero

public static int3 zero { get; }

Property Value

int3

zx

[JsonIgnore]
public int2 zx { get; set; }

Property Value

int2

zxx

[JsonIgnore]
public readonly int3 zxx { get; }

Property Value

int3

zxxx

[JsonIgnore]
public readonly int4 zxxx { get; }

Property Value

int4

zxxy

[JsonIgnore]
public readonly int4 zxxy { get; }

Property Value

int4

zxxz

[JsonIgnore]
public readonly int4 zxxz { get; }

Property Value

int4

zxy

[JsonIgnore]
public int3 zxy { get; set; }

Property Value

int3

zxyx

[JsonIgnore]
public readonly int4 zxyx { get; }

Property Value

int4

zxyy

[JsonIgnore]
public readonly int4 zxyy { get; }

Property Value

int4

zxyz

[JsonIgnore]
public readonly int4 zxyz { get; }

Property Value

int4

zxz

[JsonIgnore]
public readonly int3 zxz { get; }

Property Value

int3

zxzx

[JsonIgnore]
public readonly int4 zxzx { get; }

Property Value

int4

zxzy

[JsonIgnore]
public readonly int4 zxzy { get; }

Property Value

int4

zxzz

[JsonIgnore]
public readonly int4 zxzz { get; }

Property Value

int4

zy

[JsonIgnore]
public int2 zy { get; set; }

Property Value

int2

zyx

[JsonIgnore]
public int3 zyx { get; set; }

Property Value

int3

zyxx

[JsonIgnore]
public readonly int4 zyxx { get; }

Property Value

int4

zyxy

[JsonIgnore]
public readonly int4 zyxy { get; }

Property Value

int4

zyxz

[JsonIgnore]
public readonly int4 zyxz { get; }

Property Value

int4

zyy

[JsonIgnore]
public readonly int3 zyy { get; }

Property Value

int3

zyyx

[JsonIgnore]
public readonly int4 zyyx { get; }

Property Value

int4

zyyy

[JsonIgnore]
public readonly int4 zyyy { get; }

Property Value

int4

zyyz

[JsonIgnore]
public readonly int4 zyyz { get; }

Property Value

int4

zyz

[JsonIgnore]
public readonly int3 zyz { get; }

Property Value

int3

zyzx

[JsonIgnore]
public readonly int4 zyzx { get; }

Property Value

int4

zyzy

[JsonIgnore]
public readonly int4 zyzy { get; }

Property Value

int4

zyzz

[JsonIgnore]
public readonly int4 zyzz { get; }

Property Value

int4

zz

[JsonIgnore]
public readonly int2 zz { get; }

Property Value

int2

zzx

[JsonIgnore]
public readonly int3 zzx { get; }

Property Value

int3

zzxx

[JsonIgnore]
public readonly int4 zzxx { get; }

Property Value

int4

zzxy

[JsonIgnore]
public readonly int4 zzxy { get; }

Property Value

int4

zzxz

[JsonIgnore]
public readonly int4 zzxz { get; }

Property Value

int4

zzy

[JsonIgnore]
public readonly int3 zzy { get; }

Property Value

int3

zzyx

[JsonIgnore]
public readonly int4 zzyx { get; }

Property Value

int4

zzyy

[JsonIgnore]
public readonly int4 zzyy { get; }

Property Value

int4

zzyz

[JsonIgnore]
public readonly int4 zzyz { get; }

Property Value

int4

zzz

[JsonIgnore]
public readonly int3 zzz { get; }

Property Value

int3

zzzx

[JsonIgnore]
public readonly int4 zzzx { get; }

Property Value

int4

zzzy

[JsonIgnore]
public readonly int4 zzzy { get; }

Property Value

int4

zzzz

[JsonIgnore]
public readonly int4 zzzz { get; }

Property Value

int4

Methods

Equals(int3)

Indicates whether the current object is equal to another object of the same type.

public readonly bool Equals(int3 other)

Parameters

other int3

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override readonly bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override readonly int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override readonly string ToString()

Returns

string

The fully qualified type name.

Operators

operator +(int3, int3)

public static int3 operator +(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

int3

operator +(int3, int)

public static int3 operator +(int3 lhs, int rhs)

Parameters

lhs int3
rhs int

Returns

int3

operator +(int, int3)

public static int3 operator +(int lhs, int3 rhs)

Parameters

lhs int
rhs int3

Returns

int3

operator +=(int3)

public void operator +=(int3 other)

Parameters

other int3

operator &(int3, int3)

public static int3 operator &(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

int3

operator |(int3, int3)

public static int3 operator |(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

int3

operator --(int3)

public static int3 operator --(int3 value)

Parameters

value int3

Returns

int3

operator /(int3, int3)

public static int3 operator /(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

int3

operator /(int3, int)

public static int3 operator /(int3 lhs, int rhs)

Parameters

lhs int3
rhs int

Returns

int3

operator /(int, int3)

public static int3 operator /(int lhs, int3 rhs)

Parameters

lhs int
rhs int3

Returns

int3

operator /=(int3)

public void operator /=(int3 other)

Parameters

other int3

operator ==(int3, int3)

public static bool3 operator ==(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

bool3

operator ^(int3, int3)

public static int3 operator ^(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

int3

operator >(int3, int3)

public static bool3 operator >(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

bool3

operator >=(int3, int3)

public static bool3 operator >=(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

bool3

implicit operator int3(bool3)

public static implicit operator int3(bool3 v)

Parameters

v bool3

Returns

int3

implicit operator int3(double3)

public static implicit operator int3(double3 v)

Parameters

v double3

Returns

int3

implicit operator int3(float3)

public static implicit operator int3(float3 v)

Parameters

v float3

Returns

int3

implicit operator int3(uint3)

public static implicit operator int3(uint3 v)

Parameters

v uint3

Returns

int3

implicit operator int3(double)

public static implicit operator int3(double v)

Parameters

v double

Returns

int3

implicit operator int3(int)

public static implicit operator int3(int value)

Parameters

value int

Returns

int3

implicit operator int3(ReadOnlySpan<int>)

public static implicit operator int3(ReadOnlySpan<int> value)

Parameters

value ReadOnlySpan<int>

Returns

int3

implicit operator int3(float)

public static implicit operator int3(float v)

Parameters

v float

Returns

int3

implicit operator int3(uint)

public static implicit operator int3(uint v)

Parameters

v uint

Returns

int3

operator ++(int3)

public static int3 operator ++(int3 value)

Parameters

value int3

Returns

int3

operator !=(int3, int3)

public static bool3 operator !=(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

bool3

operator <<(int3, int)

public static int3 operator <<(int3 x, int n)

Parameters

x int3
n int

Returns

int3

operator <(int3, int3)

public static bool3 operator <(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

bool3

operator <=(int3, int3)

public static bool3 operator <=(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

bool3

operator %(int3, int3)

public static int3 operator %(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

int3

operator %(int3, int)

public static int3 operator %(int3 lhs, int rhs)

Parameters

lhs int3
rhs int

Returns

int3

operator %(int, int3)

public static int3 operator %(int lhs, int3 rhs)

Parameters

lhs int
rhs int3

Returns

int3

operator %=(int3)

public void operator %=(int3 other)

Parameters

other int3

operator *=(int3)

public void operator *=(int3 other)

Parameters

other int3

operator *(int3, int3)

public static int3 operator *(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

int3

operator *(int3, int)

public static int3 operator *(int3 lhs, int rhs)

Parameters

lhs int3
rhs int

Returns

int3

operator *(int, int3)

public static int3 operator *(int lhs, int3 rhs)

Parameters

lhs int
rhs int3

Returns

int3

operator ~(int3)

public static int3 operator ~(int3 value)

Parameters

value int3

Returns

int3

operator >>(int3, int)

public static int3 operator >>(int3 x, int n)

Parameters

x int3
n int

Returns

int3

operator -(int3, int3)

public static int3 operator -(int3 lhs, int3 rhs)

Parameters

lhs int3
rhs int3

Returns

int3

operator -(int3, int)

public static int3 operator -(int3 lhs, int rhs)

Parameters

lhs int3
rhs int

Returns

int3

operator -(int, int3)

public static int3 operator -(int lhs, int3 rhs)

Parameters

lhs int
rhs int3

Returns

int3

operator -=(int3)

public void operator -=(int3 other)

Parameters

other int3

operator -(int3)

public static int3 operator -(int3 value)

Parameters

value int3

Returns

int3

operator +(int3)

public static int3 operator +(int3 value)

Parameters

value int3

Returns

int3