Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector3L

Malware edited this page Dec 21, 2018 · 53 revisions

Index

Vector3L Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
X
Y
Z
static Comparer
static UnitX
static UnitY
static UnitZ
static Zero
static MaxValue
static MinValue
static Up
static Down
static Right
static Left
static Forward
static Backward
static One

Properties

Member Description
Item
Size How many cubes are in block with this size
SizeLong

Methods

Member Description
ToString()
Equals(Vector3L)
Equals(Object)
GetHashCode()
IsInsideInclusiveEnd(ref Vector3L, ref Vector3L)
IsInsideInclusiveEnd(Vector3L, Vector3L)
IsInside(ref Vector3L, ref Vector3L)
IsInside(Vector3L, Vector3L)
RectangularDistance(Vector3L) Calculates rectangular distance. It's how many sectors you have to travel to get to other sector from current sector.
RectangularLength() Calculates rectangular distance of this vector, longerpreted as a polong, from the origin.
Length()
static Boxlongersects(Vector3L, Vector3L, Vector3L, Vector3L)
static Boxlongersects(ref Vector3L, ref Vector3L, ref Vector3L, ref Vector3L)
static BoxContains(Vector3L, Vector3L, Vector3L)
static BoxContains(ref Vector3L, ref Vector3L, ref Vector3L)
static Min(Vector3L, Vector3L)
static Min(ref Vector3L, ref Vector3L, ref Vector3L)
AbsMin() Returns the component of the vector, whose absolute value is smallest of all the three components.
static Max(Vector3L, Vector3L)
static Max(ref Vector3L, ref Vector3L, ref Vector3L)
AbsMax() Returns the component of the vector, whose absolute value is largest of all the three components.
AxisValue(Axis)
static GetDominantDirection(Vector3L)
static GetDominantDirectionVector(Vector3L)
static DominantAxisProjection(Vector3L) Returns a vector that is equal to the projection of the input vector to the coordinate axis that corresponds to the original vector's largest value.
static DominantAxisProjection(ref Vector3L, ref Vector3L) Calculates a vector that is equal to the projection of the input vector to the coordinate axis that corresponds to the original vector's largest value. The result is saved longo a user-specified variable.
static Sign(Vector3)
static Sign(Vector3L)
static Floor(Vector3)
static Floor(Vector3D)
static Floor(ref Vector3, ref Vector3L)
static Floor(ref Vector3D, ref Vector3L)
static Ceiling(Vector3)
static Trunc(Vector3)
static Shift(Vector3L)
static Transform(ref Vector3L, ref Matrix, ref Vector3L) Transforms a Vector3L by the given Matrix.
static Transform(ref Vector3L, ref Quaternion, ref Vector3L)
static Transform(Vector3L, Quaternion)
static TransformNormal(ref Vector3L, ref Matrix, ref Vector3L) Transforms a vector normal by a matrix.
static Cross(ref Vector3L, ref Vector3L, ref Vector3L) Calculates the cross product of two vectors.
CompareTo(Vector3L)
static Abs(Vector3L)
static Abs(ref Vector3L, ref Vector3L)
static Clamp(Vector3L, Vector3L, Vector3L)
static Clamp(ref Vector3L, ref Vector3L, ref Vector3L, ref Vector3L)
static DistanceManhattan(Vector3L, Vector3L) Manhattan distance (cube distance) X + Y + Z of Abs(first - second)
Dot(ref Vector3L)
static Dot(Vector3L, Vector3L)
static Dot(ref Vector3L, ref Vector3L)
static Dot(ref Vector3L, ref Vector3L, ref long)
static TryParseFromString(string, ref Vector3L)
Volume()
static EnumerateRange(Vector3L, Vector3L) Enumerate all values in a longeger longerval (a cuboid). This method is an allocating version of the Vector3L_RangeIterator. This once can be used in the foreach syntax though so it's more convenient for debug routines.
ToBytes(List<byte>)

Clone this wiki locally