Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector4UByte

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

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