Struct int3
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
[Serializable]
public struct int3 : IEquatable<int3>, IFormattable
Constructors
int3(Boolean)
Constructs a int3 vector from a single bool value by converting it to int and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
int3(Double)
Constructs a int3 vector from a single double value by converting it to int and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Double |
v |
|
int3(Int32)
Constructs a int3 vector from a single int value by assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
int3(Int32, Int32, Int32)
Constructs a int3 vector from three int values.
Declaration
public int3(int x, int y, int z)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
z |
|
int3(Int32, int2)
Constructs a int3 vector from an int value and an int2 vector.
Declaration
public int3(int x, int2 yz)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
int2 |
yz |
|
int3(Single)
Constructs a int3 vector from a single float value by converting it to int and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Single |
v |
|
int3(UInt32)
Constructs a int3 vector from a single uint value by converting it to int and assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
int3(bool3)
Constructs a int3 vector from a bool3 vector by componentwise conversion.
Declaration
Parameters
Type |
Name |
Description |
bool3 |
v |
|
int3(double3)
Constructs a int3 vector from a double3 vector by componentwise conversion.
Declaration
Parameters
int3(float3)
Constructs a int3 vector from a float3 vector by componentwise conversion.
Declaration
Parameters
Type |
Name |
Description |
float3 |
v |
|
int3(int2, Int32)
Constructs a int3 vector from an int2 vector and an int value.
Declaration
public int3(int2 xy, int z)
Parameters
Type |
Name |
Description |
int2 |
xy |
|
System.Int32 |
z |
|
int3(int3)
Constructs a int3 vector from an int3 vector.
Declaration
Parameters
Type |
Name |
Description |
int3 |
xyz |
|
int3(uint3)
Constructs a int3 vector from a uint3 vector by componentwise conversion.
Declaration
Parameters
Type |
Name |
Description |
uint3 |
v |
|
Fields
x
Declaration
Field Value
Type |
Description |
System.Int32 |
|
y
Declaration
Field Value
Type |
Description |
System.Int32 |
|
z
Declaration
Field Value
Type |
Description |
System.Int32 |
|
zero
Declaration
public static readonly int3 zero
Field Value
Properties
Item[Int32]
Returns the int element at a specified index.
Declaration
public int this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Int32 |
|
xx
Declaration
Property Value
xxx
Declaration
Property Value
xxxx
Declaration
public int4 xxxx { get; }
Property Value
xxxy
Declaration
public int4 xxxy { get; }
Property Value
xxxz
Declaration
public int4 xxxz { get; }
Property Value
xxy
Declaration
Property Value
xxyx
Declaration
public int4 xxyx { get; }
Property Value
xxyy
Declaration
public int4 xxyy { get; }
Property Value
xxyz
Declaration
public int4 xxyz { get; }
Property Value
xxz
Declaration
Property Value
xxzx
Declaration
public int4 xxzx { get; }
Property Value
xxzy
Declaration
public int4 xxzy { get; }
Property Value
xxzz
Declaration
public int4 xxzz { get; }
Property Value
xy
Declaration
public int2 xy { get; set; }
Property Value
xyx
Declaration
Property Value
xyxx
Declaration
public int4 xyxx { get; }
Property Value
xyxy
Declaration
public int4 xyxy { get; }
Property Value
xyxz
Declaration
public int4 xyxz { get; }
Property Value
xyy
Declaration
Property Value
xyyx
Declaration
public int4 xyyx { get; }
Property Value
xyyy
Declaration
public int4 xyyy { get; }
Property Value
xyyz
Declaration
public int4 xyyz { get; }
Property Value
xyz
Declaration
public int3 xyz { get; set; }
Property Value
xyzx
Declaration
public int4 xyzx { get; }
Property Value
xyzy
Declaration
public int4 xyzy { get; }
Property Value
xyzz
Declaration
public int4 xyzz { get; }
Property Value
xz
Declaration
public int2 xz { get; set; }
Property Value
xzx
Declaration
Property Value
xzxx
Declaration
public int4 xzxx { get; }
Property Value
xzxy
Declaration
public int4 xzxy { get; }
Property Value
xzxz
Declaration
public int4 xzxz { get; }
Property Value
xzy
Declaration
public int3 xzy { get; set; }
Property Value
xzyx
Declaration
public int4 xzyx { get; }
Property Value
xzyy
Declaration
public int4 xzyy { get; }
Property Value
xzyz
Declaration
public int4 xzyz { get; }
Property Value
xzz
Declaration
Property Value
xzzx
Declaration
public int4 xzzx { get; }
Property Value
xzzy
Declaration
public int4 xzzy { get; }
Property Value
xzzz
Declaration
public int4 xzzz { get; }
Property Value
yx
Declaration
public int2 yx { get; set; }
Property Value
yxx
Declaration
Property Value
yxxx
Declaration
public int4 yxxx { get; }
Property Value
yxxy
Declaration
public int4 yxxy { get; }
Property Value
yxxz
Declaration
public int4 yxxz { get; }
Property Value
yxy
Declaration
Property Value
yxyx
Declaration
public int4 yxyx { get; }
Property Value
yxyy
Declaration
public int4 yxyy { get; }
Property Value
yxyz
Declaration
public int4 yxyz { get; }
Property Value
yxz
Declaration
public int3 yxz { get; set; }
Property Value
yxzx
Declaration
public int4 yxzx { get; }
Property Value
yxzy
Declaration
public int4 yxzy { get; }
Property Value
yxzz
Declaration
public int4 yxzz { get; }
Property Value
yy
Declaration
Property Value
yyx
Declaration
Property Value
yyxx
Declaration
public int4 yyxx { get; }
Property Value
yyxy
Declaration
public int4 yyxy { get; }
Property Value
yyxz
Declaration
public int4 yyxz { get; }
Property Value
yyy
Declaration
Property Value
yyyx
Declaration
public int4 yyyx { get; }
Property Value
yyyy
Declaration
public int4 yyyy { get; }
Property Value
yyyz
Declaration
public int4 yyyz { get; }
Property Value
yyz
Declaration
Property Value
yyzx
Declaration
public int4 yyzx { get; }
Property Value
yyzy
Declaration
public int4 yyzy { get; }
Property Value
yyzz
Declaration
public int4 yyzz { get; }
Property Value
yz
Declaration
public int2 yz { get; set; }
Property Value
yzx
Declaration
public int3 yzx { get; set; }
Property Value
yzxx
Declaration
public int4 yzxx { get; }
Property Value
yzxy
Declaration
public int4 yzxy { get; }
Property Value
yzxz
Declaration
public int4 yzxz { get; }
Property Value
yzy
Declaration
Property Value
yzyx
Declaration
public int4 yzyx { get; }
Property Value
yzyy
Declaration
public int4 yzyy { get; }
Property Value
yzyz
Declaration
public int4 yzyz { get; }
Property Value
yzz
Declaration
Property Value
yzzx
Declaration
public int4 yzzx { get; }
Property Value
yzzy
Declaration
public int4 yzzy { get; }
Property Value
yzzz
Declaration
public int4 yzzz { get; }
Property Value
zx
Declaration
public int2 zx { get; set; }
Property Value
zxx
Declaration
Property Value
zxxx
Declaration
public int4 zxxx { get; }
Property Value
zxxy
Declaration
public int4 zxxy { get; }
Property Value
zxxz
Declaration
public int4 zxxz { get; }
Property Value
zxy
Declaration
public int3 zxy { get; set; }
Property Value
zxyx
Declaration
public int4 zxyx { get; }
Property Value
zxyy
Declaration
public int4 zxyy { get; }
Property Value
zxyz
Declaration
public int4 zxyz { get; }
Property Value
zxz
Declaration
Property Value
zxzx
Declaration
public int4 zxzx { get; }
Property Value
zxzy
Declaration
public int4 zxzy { get; }
Property Value
zxzz
Declaration
public int4 zxzz { get; }
Property Value
zy
Declaration
public int2 zy { get; set; }
Property Value
zyx
Declaration
public int3 zyx { get; set; }
Property Value
zyxx
Declaration
public int4 zyxx { get; }
Property Value
zyxy
Declaration
public int4 zyxy { get; }
Property Value
zyxz
Declaration
public int4 zyxz { get; }
Property Value
zyy
Declaration
Property Value
zyyx
Declaration
public int4 zyyx { get; }
Property Value
zyyy
Declaration
public int4 zyyy { get; }
Property Value
zyyz
Declaration
public int4 zyyz { get; }
Property Value
zyz
Declaration
Property Value
zyzx
Declaration
public int4 zyzx { get; }
Property Value
zyzy
Declaration
public int4 zyzy { get; }
Property Value
zyzz
Declaration
public int4 zyzz { get; }
Property Value
zz
Declaration
Property Value
zzx
Declaration
Property Value
zzxx
Declaration
public int4 zzxx { get; }
Property Value
zzxy
Declaration
public int4 zzxy { get; }
Property Value
zzxz
Declaration
public int4 zzxz { get; }
Property Value
zzy
Declaration
Property Value
zzyx
Declaration
public int4 zzyx { get; }
Property Value
zzyy
Declaration
public int4 zzyy { get; }
Property Value
zzyz
Declaration
public int4 zzyz { get; }
Property Value
zzz
Declaration
Property Value
zzzx
Declaration
public int4 zzzx { get; }
Property Value
zzzy
Declaration
public int4 zzzy { get; }
Property Value
zzzz
Declaration
public int4 zzzz { get; }
Property Value
Methods
Equals(Object)
Returns true if the int3 is equal to a given int3, false otherwise.
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(int3)
Returns true if the int3 is equal to a given int3, false otherwise.
Declaration
public bool Equals(int3 rhs)
Parameters
Type |
Name |
Description |
int3 |
rhs |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
GetHashCode()
Returns a hash code for the int3.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Returns a string representation of the int3.
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Returns a string representation of the int3 using a specified format and culture-specific format information.
Declaration
public string ToString(string format, IFormatProvider formatProvider)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.IFormatProvider |
formatProvider |
|
Returns
Type |
Description |
System.String |
|
Implements
System.IFormattable.ToString(System.String, System.IFormatProvider)
Operators
Addition(Int32, int3)
Returns the result of a componentwise addition operation on an int value and an int3 vector.
Declaration
public static int3 operator +(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
Addition(int3, Int32)
Returns the result of a componentwise addition operation on an int3 vector and an int value.
Declaration
public static int3 operator +(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
Addition(int3, int3)
Returns the result of a componentwise addition operation on two int3 vectors.
Declaration
public static int3 operator +(int3 lhs, int3 rhs)
Parameters
Returns
BitwiseAnd(Int32, int3)
Returns the result of a componentwise bitwise and operation on an int value and an int3 vector.
Declaration
public static int3 operator &(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
BitwiseAnd(int3, Int32)
Returns the result of a componentwise bitwise and operation on an int3 vector and an int value.
Declaration
public static int3 operator &(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
BitwiseAnd(int3, int3)
Returns the result of a componentwise bitwise and operation on two int3 vectors.
Declaration
public static int3 operator &(int3 lhs, int3 rhs)
Parameters
Returns
BitwiseOr(Int32, int3)
Returns the result of a componentwise bitwise or operation on an int value and an int3 vector.
Declaration
public static int3 operator |(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
BitwiseOr(int3, Int32)
Returns the result of a componentwise bitwise or operation on an int3 vector and an int value.
Declaration
public static int3 operator |(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
BitwiseOr(int3, int3)
Returns the result of a componentwise bitwise or operation on two int3 vectors.
Declaration
public static int3 operator |(int3 lhs, int3 rhs)
Parameters
Returns
Decrement(int3)
Returns the result of a componentwise decrement operation on an int3 vector.
Declaration
public static int3 operator --(int3 val)
Parameters
Type |
Name |
Description |
int3 |
val |
|
Returns
Division(Int32, int3)
Returns the result of a componentwise division operation on an int value and an int3 vector.
Declaration
public static int3 operator /(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
Division(int3, Int32)
Returns the result of a componentwise division operation on an int3 vector and an int value.
Declaration
public static int3 operator /(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
Division(int3, int3)
Returns the result of a componentwise division operation on two int3 vectors.
Declaration
public static int3 operator /(int3 lhs, int3 rhs)
Parameters
Returns
Equality(Int32, int3)
Returns the result of a componentwise equality operation on an int value and an int3 vector.
Declaration
public static bool3 operator ==(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
Equality(int3, Int32)
Returns the result of a componentwise equality operation on an int3 vector and an int value.
Declaration
public static bool3 operator ==(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
Equality(int3, int3)
Returns the result of a componentwise equality operation on two int3 vectors.
Declaration
public static bool3 operator ==(int3 lhs, int3 rhs)
Parameters
Returns
ExclusiveOr(Int32, int3)
Returns the result of a componentwise bitwise exclusive or operation on an int value and an int3 vector.
Declaration
public static int3 operator ^(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
ExclusiveOr(int3, Int32)
Returns the result of a componentwise bitwise exclusive or operation on an int3 vector and an int value.
Declaration
public static int3 operator ^(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
ExclusiveOr(int3, int3)
Returns the result of a componentwise bitwise exclusive or operation on two int3 vectors.
Declaration
public static int3 operator ^(int3 lhs, int3 rhs)
Parameters
Returns
Explicit(Boolean to int3)
Explicitly converts a single bool value to a int3 vector by converting it to int and assigning it to every component.
Declaration
public static explicit operator int3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
Explicit(Double to int3)
Explicitly converts a single double value to a int3 vector by converting it to int and assigning it to every component.
Declaration
public static explicit operator int3(double v)
Parameters
Type |
Name |
Description |
System.Double |
v |
|
Returns
Explicit(Single to int3)
Explicitly converts a single float value to a int3 vector by converting it to int and assigning it to every component.
Declaration
public static explicit operator int3(float v)
Parameters
Type |
Name |
Description |
System.Single |
v |
|
Returns
Explicit(UInt32 to int3)
Explicitly converts a single uint value to a int3 vector by converting it to int and assigning it to every component.
Declaration
public static explicit operator int3(uint v)
Parameters
Type |
Name |
Description |
System.UInt32 |
v |
|
Returns
Explicit(bool3 to int3)
Explicitly converts a bool3 vector to a int3 vector by componentwise conversion.
Declaration
public static explicit operator int3(bool3 v)
Parameters
Type |
Name |
Description |
bool3 |
v |
|
Returns
Explicit(double3 to int3)
Explicitly converts a double3 vector to a int3 vector by componentwise conversion.
Declaration
public static explicit operator int3(double3 v)
Parameters
Returns
Explicit(float3 to int3)
Explicitly converts a float3 vector to a int3 vector by componentwise conversion.
Declaration
public static explicit operator int3(float3 v)
Parameters
Type |
Name |
Description |
float3 |
v |
|
Returns
Explicit(uint3 to int3)
Explicitly converts a uint3 vector to a int3 vector by componentwise conversion.
Declaration
public static explicit operator int3(uint3 v)
Parameters
Type |
Name |
Description |
uint3 |
v |
|
Returns
GreaterThan(Int32, int3)
Returns the result of a componentwise greater than operation on an int value and an int3 vector.
Declaration
public static bool3 operator>(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
GreaterThan(int3, Int32)
Returns the result of a componentwise greater than operation on an int3 vector and an int value.
Declaration
public static bool3 operator>(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
GreaterThan(int3, int3)
Returns the result of a componentwise greater than operation on two int3 vectors.
Declaration
public static bool3 operator>(int3 lhs, int3 rhs)
Parameters
Returns
GreaterThanOrEqual(Int32, int3)
Returns the result of a componentwise greater or equal operation on an int value and an int3 vector.
Declaration
public static bool3 operator >=(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
GreaterThanOrEqual(int3, Int32)
Returns the result of a componentwise greater or equal operation on an int3 vector and an int value.
Declaration
public static bool3 operator >=(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
GreaterThanOrEqual(int3, int3)
Returns the result of a componentwise greater or equal operation on two int3 vectors.
Declaration
public static bool3 operator >=(int3 lhs, int3 rhs)
Parameters
Returns
Implicit(Int32 to int3)
Implicitly converts a single int value to a int3 vector by assigning it to every component.
Declaration
public static implicit operator int3(int v)
Parameters
Type |
Name |
Description |
System.Int32 |
v |
|
Returns
Increment(int3)
Returns the result of a componentwise increment operation on an int3 vector.
Declaration
public static int3 operator ++(int3 val)
Parameters
Type |
Name |
Description |
int3 |
val |
|
Returns
Inequality(Int32, int3)
Returns the result of a componentwise not equal operation on an int value and an int3 vector.
Declaration
public static bool3 operator !=(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
Inequality(int3, Int32)
Returns the result of a componentwise not equal operation on an int3 vector and an int value.
Declaration
public static bool3 operator !=(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
Inequality(int3, int3)
Returns the result of a componentwise not equal operation on two int3 vectors.
Declaration
public static bool3 operator !=(int3 lhs, int3 rhs)
Parameters
Returns
LeftShift(int3, Int32)
Returns the result of a componentwise left shift operation on an int3 vector by a number of bits specified by a single int.
Declaration
public static int3 operator <<(int3 x, int n)
Parameters
Type |
Name |
Description |
int3 |
x |
|
System.Int32 |
n |
|
Returns
LessThan(Int32, int3)
Returns the result of a componentwise less than operation on an int value and an int3 vector.
Declaration
public static bool3 operator <(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
LessThan(int3, Int32)
Returns the result of a componentwise less than operation on an int3 vector and an int value.
Declaration
public static bool3 operator <(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
LessThan(int3, int3)
Returns the result of a componentwise less than operation on two int3 vectors.
Declaration
public static bool3 operator <(int3 lhs, int3 rhs)
Parameters
Returns
LessThanOrEqual(Int32, int3)
Returns the result of a componentwise less or equal operation on an int value and an int3 vector.
Declaration
public static bool3 operator <=(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
LessThanOrEqual(int3, Int32)
Returns the result of a componentwise less or equal operation on an int3 vector and an int value.
Declaration
public static bool3 operator <=(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
LessThanOrEqual(int3, int3)
Returns the result of a componentwise less or equal operation on two int3 vectors.
Declaration
public static bool3 operator <=(int3 lhs, int3 rhs)
Parameters
Returns
Modulus(Int32, int3)
Returns the result of a componentwise modulus operation on an int value and an int3 vector.
Declaration
public static int3 operator %(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
Modulus(int3, Int32)
Returns the result of a componentwise modulus operation on an int3 vector and an int value.
Declaration
public static int3 operator %(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
Modulus(int3, int3)
Returns the result of a componentwise modulus operation on two int3 vectors.
Declaration
public static int3 operator %(int3 lhs, int3 rhs)
Parameters
Returns
Multiply(Int32, int3)
Returns the result of a componentwise multiplication operation on an int value and an int3 vector.
Declaration
public static int3 operator *(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
Multiply(int3, Int32)
Returns the result of a componentwise multiplication operation on an int3 vector and an int value.
Declaration
public static int3 operator *(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
Multiply(int3, int3)
Returns the result of a componentwise multiplication operation on two int3 vectors.
Declaration
public static int3 operator *(int3 lhs, int3 rhs)
Parameters
Returns
OnesComplement(int3)
Returns the result of a componentwise bitwise not operation on an int3 vector.
Declaration
public static int3 operator ~(int3 val)
Parameters
Type |
Name |
Description |
int3 |
val |
|
Returns
RightShift(int3, Int32)
Returns the result of a componentwise right shift operation on an int3 vector by a number of bits specified by a single int.
Declaration
public static int3 operator >>(int3 x, int n)
Parameters
Type |
Name |
Description |
int3 |
x |
|
System.Int32 |
n |
|
Returns
Subtraction(Int32, int3)
Returns the result of a componentwise subtraction operation on an int value and an int3 vector.
Declaration
public static int3 operator -(int lhs, int3 rhs)
Parameters
Type |
Name |
Description |
System.Int32 |
lhs |
|
int3 |
rhs |
|
Returns
Subtraction(int3, Int32)
Returns the result of a componentwise subtraction operation on an int3 vector and an int value.
Declaration
public static int3 operator -(int3 lhs, int rhs)
Parameters
Type |
Name |
Description |
int3 |
lhs |
|
System.Int32 |
rhs |
|
Returns
Subtraction(int3, int3)
Returns the result of a componentwise subtraction operation on two int3 vectors.
Declaration
public static int3 operator -(int3 lhs, int3 rhs)
Parameters
Returns
UnaryNegation(int3)
Returns the result of a componentwise unary minus operation on an int3 vector.
Declaration
public static int3 operator -(int3 val)
Parameters
Type |
Name |
Description |
int3 |
val |
|
Returns
UnaryPlus(int3)
Returns the result of a componentwise unary plus operation on an int3 vector.
Declaration
public static int3 operator +(int3 val)
Parameters
Type |
Name |
Description |
int3 |
val |
|
Returns