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 Jan 26, 2019 · 42 revisions

IndexNamespace Index

Vector3UByte Struct

public struct Vector3UByte

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
X
Y
Z
Comparer
Zero

Constructors

Member Description
Vector3UByte(byte, byte, byte)
Vector3UByte(Vector3I)

Methods

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

Clone this wiki locally