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
vbool3
int3(double3)
public int3(double3 v)
Parameters
vdouble3
int3(float3)
public int3(float3 v)
Parameters
vfloat3
int3(int2, int)
public int3(int2 xy, int z)
Parameters
int3(int3)
public int3(int3 xyz)
Parameters
xyzint3
int3(uint3)
public int3(uint3 v)
Parameters
vuint3
int3(double)
public int3(double v)
Parameters
vdouble
int3(int)
public int3(int value)
Parameters
valueint
int3(int, int2)
public int3(int x, int2 yz)
Parameters
int3(int, int, int)
public int3(int x, int y, int z)
Parameters
int3(ReadOnlySpan<int>)
public int3(ReadOnlySpan<int> values)
Parameters
valuesReadOnlySpan<int>
int3(float)
public int3(float v)
Parameters
vfloat
int3(uint)
public int3(uint v)
Parameters
vuint
Fields
x
public int x
Field Value
y
public int y
Field Value
z
public int z
Field Value
Properties
this[int]
public ref int this[int index] { get; }
Parameters
indexint
Property Value
one
public static int3 one { get; }
Property Value
unitX
public static int3 unitX { get; }
Property Value
unitY
public static int3 unitY { get; }
Property Value
unitZ
public static int3 unitZ { get; }
Property Value
xx
[JsonIgnore]
public readonly int2 xx { get; }
Property Value
xxx
[JsonIgnore]
public readonly int3 xxx { get; }
Property Value
xxxx
[JsonIgnore]
public readonly int4 xxxx { get; }
Property Value
xxxy
[JsonIgnore]
public readonly int4 xxxy { get; }
Property Value
xxxz
[JsonIgnore]
public readonly int4 xxxz { get; }
Property Value
xxy
[JsonIgnore]
public readonly int3 xxy { get; }
Property Value
xxyx
[JsonIgnore]
public readonly int4 xxyx { get; }
Property Value
xxyy
[JsonIgnore]
public readonly int4 xxyy { get; }
Property Value
xxyz
[JsonIgnore]
public readonly int4 xxyz { get; }
Property Value
xxz
[JsonIgnore]
public readonly int3 xxz { get; }
Property Value
xxzx
[JsonIgnore]
public readonly int4 xxzx { get; }
Property Value
xxzy
[JsonIgnore]
public readonly int4 xxzy { get; }
Property Value
xxzz
[JsonIgnore]
public readonly int4 xxzz { get; }
Property Value
xy
[JsonIgnore]
public int2 xy { get; set; }
Property Value
xyx
[JsonIgnore]
public readonly int3 xyx { get; }
Property Value
xyxx
[JsonIgnore]
public readonly int4 xyxx { get; }
Property Value
xyxy
[JsonIgnore]
public readonly int4 xyxy { get; }
Property Value
xyxz
[JsonIgnore]
public readonly int4 xyxz { get; }
Property Value
xyy
[JsonIgnore]
public readonly int3 xyy { get; }
Property Value
xyyx
[JsonIgnore]
public readonly int4 xyyx { get; }
Property Value
xyyy
[JsonIgnore]
public readonly int4 xyyy { get; }
Property Value
xyyz
[JsonIgnore]
public readonly int4 xyyz { get; }
Property Value
xyz
[JsonIgnore]
public int3 xyz { get; set; }
Property Value
xyzx
[JsonIgnore]
public readonly int4 xyzx { get; }
Property Value
xyzy
[JsonIgnore]
public readonly int4 xyzy { get; }
Property Value
xyzz
[JsonIgnore]
public readonly int4 xyzz { get; }
Property Value
xz
[JsonIgnore]
public int2 xz { get; set; }
Property Value
xzx
[JsonIgnore]
public readonly int3 xzx { get; }
Property Value
xzxx
[JsonIgnore]
public readonly int4 xzxx { get; }
Property Value
xzxy
[JsonIgnore]
public readonly int4 xzxy { get; }
Property Value
xzxz
[JsonIgnore]
public readonly int4 xzxz { get; }
Property Value
xzy
[JsonIgnore]
public int3 xzy { get; set; }
Property Value
xzyx
[JsonIgnore]
public readonly int4 xzyx { get; }
Property Value
xzyy
[JsonIgnore]
public readonly int4 xzyy { get; }
Property Value
xzyz
[JsonIgnore]
public readonly int4 xzyz { get; }
Property Value
xzz
[JsonIgnore]
public readonly int3 xzz { get; }
Property Value
xzzx
[JsonIgnore]
public readonly int4 xzzx { get; }
Property Value
xzzy
[JsonIgnore]
public readonly int4 xzzy { get; }
Property Value
xzzz
[JsonIgnore]
public readonly int4 xzzz { get; }
Property Value
yx
[JsonIgnore]
public int2 yx { get; set; }
Property Value
yxx
[JsonIgnore]
public readonly int3 yxx { get; }
Property Value
yxxx
[JsonIgnore]
public readonly int4 yxxx { get; }
Property Value
yxxy
[JsonIgnore]
public readonly int4 yxxy { get; }
Property Value
yxxz
[JsonIgnore]
public readonly int4 yxxz { get; }
Property Value
yxy
[JsonIgnore]
public readonly int3 yxy { get; }
Property Value
yxyx
[JsonIgnore]
public readonly int4 yxyx { get; }
Property Value
yxyy
[JsonIgnore]
public readonly int4 yxyy { get; }
Property Value
yxyz
[JsonIgnore]
public readonly int4 yxyz { get; }
Property Value
yxz
[JsonIgnore]
public int3 yxz { get; set; }
Property Value
yxzx
[JsonIgnore]
public readonly int4 yxzx { get; }
Property Value
yxzy
[JsonIgnore]
public readonly int4 yxzy { get; }
Property Value
yxzz
[JsonIgnore]
public readonly int4 yxzz { get; }
Property Value
yy
[JsonIgnore]
public readonly int2 yy { get; }
Property Value
yyx
[JsonIgnore]
public readonly int3 yyx { get; }
Property Value
yyxx
[JsonIgnore]
public readonly int4 yyxx { get; }
Property Value
yyxy
[JsonIgnore]
public readonly int4 yyxy { get; }
Property Value
yyxz
[JsonIgnore]
public readonly int4 yyxz { get; }
Property Value
yyy
[JsonIgnore]
public readonly int3 yyy { get; }
Property Value
yyyx
[JsonIgnore]
public readonly int4 yyyx { get; }
Property Value
yyyy
[JsonIgnore]
public readonly int4 yyyy { get; }
Property Value
yyyz
[JsonIgnore]
public readonly int4 yyyz { get; }
Property Value
yyz
[JsonIgnore]
public readonly int3 yyz { get; }
Property Value
yyzx
[JsonIgnore]
public readonly int4 yyzx { get; }
Property Value
yyzy
[JsonIgnore]
public readonly int4 yyzy { get; }
Property Value
yyzz
[JsonIgnore]
public readonly int4 yyzz { get; }
Property Value
yz
[JsonIgnore]
public int2 yz { get; set; }
Property Value
yzx
[JsonIgnore]
public int3 yzx { get; set; }
Property Value
yzxx
[JsonIgnore]
public readonly int4 yzxx { get; }
Property Value
yzxy
[JsonIgnore]
public readonly int4 yzxy { get; }
Property Value
yzxz
[JsonIgnore]
public readonly int4 yzxz { get; }
Property Value
yzy
[JsonIgnore]
public readonly int3 yzy { get; }
Property Value
yzyx
[JsonIgnore]
public readonly int4 yzyx { get; }
Property Value
yzyy
[JsonIgnore]
public readonly int4 yzyy { get; }
Property Value
yzyz
[JsonIgnore]
public readonly int4 yzyz { get; }
Property Value
yzz
[JsonIgnore]
public readonly int3 yzz { get; }
Property Value
yzzx
[JsonIgnore]
public readonly int4 yzzx { get; }
Property Value
yzzy
[JsonIgnore]
public readonly int4 yzzy { get; }
Property Value
yzzz
[JsonIgnore]
public readonly int4 yzzz { get; }
Property Value
zero
public static int3 zero { get; }
Property Value
zx
[JsonIgnore]
public int2 zx { get; set; }
Property Value
zxx
[JsonIgnore]
public readonly int3 zxx { get; }
Property Value
zxxx
[JsonIgnore]
public readonly int4 zxxx { get; }
Property Value
zxxy
[JsonIgnore]
public readonly int4 zxxy { get; }
Property Value
zxxz
[JsonIgnore]
public readonly int4 zxxz { get; }
Property Value
zxy
[JsonIgnore]
public int3 zxy { get; set; }
Property Value
zxyx
[JsonIgnore]
public readonly int4 zxyx { get; }
Property Value
zxyy
[JsonIgnore]
public readonly int4 zxyy { get; }
Property Value
zxyz
[JsonIgnore]
public readonly int4 zxyz { get; }
Property Value
zxz
[JsonIgnore]
public readonly int3 zxz { get; }
Property Value
zxzx
[JsonIgnore]
public readonly int4 zxzx { get; }
Property Value
zxzy
[JsonIgnore]
public readonly int4 zxzy { get; }
Property Value
zxzz
[JsonIgnore]
public readonly int4 zxzz { get; }
Property Value
zy
[JsonIgnore]
public int2 zy { get; set; }
Property Value
zyx
[JsonIgnore]
public int3 zyx { get; set; }
Property Value
zyxx
[JsonIgnore]
public readonly int4 zyxx { get; }
Property Value
zyxy
[JsonIgnore]
public readonly int4 zyxy { get; }
Property Value
zyxz
[JsonIgnore]
public readonly int4 zyxz { get; }
Property Value
zyy
[JsonIgnore]
public readonly int3 zyy { get; }
Property Value
zyyx
[JsonIgnore]
public readonly int4 zyyx { get; }
Property Value
zyyy
[JsonIgnore]
public readonly int4 zyyy { get; }
Property Value
zyyz
[JsonIgnore]
public readonly int4 zyyz { get; }
Property Value
zyz
[JsonIgnore]
public readonly int3 zyz { get; }
Property Value
zyzx
[JsonIgnore]
public readonly int4 zyzx { get; }
Property Value
zyzy
[JsonIgnore]
public readonly int4 zyzy { get; }
Property Value
zyzz
[JsonIgnore]
public readonly int4 zyzz { get; }
Property Value
zz
[JsonIgnore]
public readonly int2 zz { get; }
Property Value
zzx
[JsonIgnore]
public readonly int3 zzx { get; }
Property Value
zzxx
[JsonIgnore]
public readonly int4 zzxx { get; }
Property Value
zzxy
[JsonIgnore]
public readonly int4 zzxy { get; }
Property Value
zzxz
[JsonIgnore]
public readonly int4 zzxz { get; }
Property Value
zzy
[JsonIgnore]
public readonly int3 zzy { get; }
Property Value
zzyx
[JsonIgnore]
public readonly int4 zzyx { get; }
Property Value
zzyy
[JsonIgnore]
public readonly int4 zzyy { get; }
Property Value
zzyz
[JsonIgnore]
public readonly int4 zzyz { get; }
Property Value
zzz
[JsonIgnore]
public readonly int3 zzz { get; }
Property Value
zzzx
[JsonIgnore]
public readonly int4 zzzx { get; }
Property Value
zzzy
[JsonIgnore]
public readonly int4 zzzy { get; }
Property Value
zzzz
[JsonIgnore]
public readonly int4 zzzz { get; }
Property Value
Methods
Equals(int3)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(int3 other)
Parameters
otherint3An object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand 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
Returns
operator +(int3, int)
public static int3 operator +(int3 lhs, int rhs)
Parameters
Returns
operator +(int, int3)
public static int3 operator +(int lhs, int3 rhs)
Parameters
Returns
operator +=(int3)
public void operator +=(int3 other)
Parameters
otherint3
operator &(int3, int3)
public static int3 operator &(int3 lhs, int3 rhs)
Parameters
Returns
operator |(int3, int3)
public static int3 operator |(int3 lhs, int3 rhs)
Parameters
Returns
operator --(int3)
public static int3 operator --(int3 value)
Parameters
valueint3
Returns
operator /(int3, int3)
public static int3 operator /(int3 lhs, int3 rhs)
Parameters
Returns
operator /(int3, int)
public static int3 operator /(int3 lhs, int rhs)
Parameters
Returns
operator /(int, int3)
public static int3 operator /(int lhs, int3 rhs)
Parameters
Returns
operator /=(int3)
public void operator /=(int3 other)
Parameters
otherint3
operator ==(int3, int3)
public static bool3 operator ==(int3 lhs, int3 rhs)
Parameters
Returns
operator ^(int3, int3)
public static int3 operator ^(int3 lhs, int3 rhs)
Parameters
Returns
operator >(int3, int3)
public static bool3 operator >(int3 lhs, int3 rhs)
Parameters
Returns
operator >=(int3, int3)
public static bool3 operator >=(int3 lhs, int3 rhs)
Parameters
Returns
implicit operator int3(bool3)
public static implicit operator int3(bool3 v)
Parameters
vbool3
Returns
implicit operator int3(double3)
public static implicit operator int3(double3 v)
Parameters
vdouble3
Returns
implicit operator int3(float3)
public static implicit operator int3(float3 v)
Parameters
vfloat3
Returns
implicit operator int3(uint3)
public static implicit operator int3(uint3 v)
Parameters
vuint3
Returns
implicit operator int3(double)
public static implicit operator int3(double v)
Parameters
vdouble
Returns
implicit operator int3(int)
public static implicit operator int3(int value)
Parameters
valueint
Returns
implicit operator int3(ReadOnlySpan<int>)
public static implicit operator int3(ReadOnlySpan<int> value)
Parameters
valueReadOnlySpan<int>
Returns
implicit operator int3(float)
public static implicit operator int3(float v)
Parameters
vfloat
Returns
implicit operator int3(uint)
public static implicit operator int3(uint v)
Parameters
vuint
Returns
operator ++(int3)
public static int3 operator ++(int3 value)
Parameters
valueint3
Returns
operator !=(int3, int3)
public static bool3 operator !=(int3 lhs, int3 rhs)
Parameters
Returns
operator <<(int3, int)
public static int3 operator <<(int3 x, int n)
Parameters
Returns
operator <(int3, int3)
public static bool3 operator <(int3 lhs, int3 rhs)
Parameters
Returns
operator <=(int3, int3)
public static bool3 operator <=(int3 lhs, int3 rhs)
Parameters
Returns
operator %(int3, int3)
public static int3 operator %(int3 lhs, int3 rhs)
Parameters
Returns
operator %(int3, int)
public static int3 operator %(int3 lhs, int rhs)
Parameters
Returns
operator %(int, int3)
public static int3 operator %(int lhs, int3 rhs)
Parameters
Returns
operator %=(int3)
public void operator %=(int3 other)
Parameters
otherint3
operator *=(int3)
public void operator *=(int3 other)
Parameters
otherint3
operator *(int3, int3)
public static int3 operator *(int3 lhs, int3 rhs)
Parameters
Returns
operator *(int3, int)
public static int3 operator *(int3 lhs, int rhs)
Parameters
Returns
operator *(int, int3)
public static int3 operator *(int lhs, int3 rhs)
Parameters
Returns
operator ~(int3)
public static int3 operator ~(int3 value)
Parameters
valueint3
Returns
operator >>(int3, int)
public static int3 operator >>(int3 x, int n)
Parameters
Returns
operator -(int3, int3)
public static int3 operator -(int3 lhs, int3 rhs)
Parameters
Returns
operator -(int3, int)
public static int3 operator -(int3 lhs, int rhs)
Parameters
Returns
operator -(int, int3)
public static int3 operator -(int lhs, int3 rhs)
Parameters
Returns
operator -=(int3)
public void operator -=(int3 other)
Parameters
otherint3
operator -(int3)
public static int3 operator -(int3 value)
Parameters
valueint3
Returns
operator +(int3)
public static int3 operator +(int3 value)
Parameters
valueint3