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

VRageMath.Vector3UByte

Morten Aune Lyrstad edited this page Apr 16, 2022 · 42 revisions

IndexNamespace Index

Vector3UByte Struct

public struct Vector3UByte

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
[static EqualityComparer Comparer](VRageMath.Vector3UByte.Comparer)
[static Vector3UByte Zero](VRageMath.Vector3UByte.Zero)
[byte X](VRageMath.Vector3UByte.X)
[byte Y](VRageMath.Vector3UByte.Y)
[byte Z](VRageMath.Vector3UByte.Z)

Constructors

Member Description
[Vector3UByte(byte, byte, byte)](VRageMath.Vector3UByte..ctor)
[Vector3UByte(Vector3I)](VRageMath.Vector3UByte..ctor)

Methods

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

Clone this wiki locally