VRageMath.Vector4UByte - bimbam2103/space_engineers GitHub Wiki

IndexNamespace Index

Vector4UByte Struct

public struct Vector4UByte

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

byte W

byte X

byte Y

byte Z

Properties

byte Item { get; set; }

Constructors

Vector4UByte(byte x, byte y, byte z, byte w)

Methods

static Vector4UByte Normalize(Vector3 vec, float range)

Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255)

static Vector4UByte Round(Vector3 vec)

static Vector4UByte Round(Vector4 vec)

string ToString()

⚠️ **GitHub.com Fallback** ⚠️