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

VRageMath.Vector3UByte

Malware edited this page Dec 21, 2018 · 42 revisions

Index

Vector3UByte Struct

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
byte X
byte Y
byte Z
static VRageMath.EqualityComparer Comparer
static VRageMath.Vector3UByte Zero

Methods

Member Description
string ToString()
int GetHashCode()
bool Equals(System.Object)
static VRageMath.Vector3UByte Round(VRageMath.Vector3)
static VRageMath.Vector3UByte Floor(VRageMath.Vector3)
int LengthSquared()
static bool IsMiddle(VRageMath.Vector3UByte) Returns true when all components are 127
static VRageMath.Vector3UByte Normalize(VRageMath.Vector3, float) Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255). Unsafe for values "range >= any_vec_value / 257";
static VRageMath.Vector3 Denormalize(VRageMath.Vector3UByte, float) Unpacks Vector3 from Vector3UByte, scales vector from (0, 255) to (-range, range)

Clone this wiki locally