Class Vector4I
Inheritance
System.Object
Vector4I
Assembly: VRage.Math.dll
Syntax
public sealed class Vector4I : ValueType, IComparable<Vector4I>
Constructors
Vector4I(Int32, Int32, Int32, Int32)
Declaration
public Vector4I(int x, int y, int z, int w)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
System.Int32 |
z |
|
System.Int32 |
w |
|
Vector4I(Vector3I, Int32)
Declaration
public Vector4I(Vector3I xyz, int w)
Parameters
Type |
Name |
Description |
Vector3I |
xyz |
|
System.Int32 |
w |
|
Fields
Comparer
Declaration
public static readonly Vector4I.EqualityComparer Comparer
Field Value
W
Declaration
Field Value
Type |
Description |
System.Int32 |
|
X
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Y
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Z
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
Item[Int32]
Declaration
public int this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Int32 |
|
Methods
CompareTo(Vector4I)
Declaration
public int CompareTo(Vector4I other)
Parameters
Returns
Type |
Description |
System.Int32 |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Operators
Explicit(Vector4I to Byte4)
Declaration
public static explicit operator Byte4(Vector4I xyzw)
Parameters
Returns
Type |
Description |
VRageMath.PackedVector.Byte4 |
|