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

VRageMath.Vector4UByte

Malware edited this page Dec 13, 2025 · 43 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

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()

Clone this wiki locally