This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 124
VRageMath.Vector4UByte
Morten Aune Lyrstad edited this page Apr 16, 2022
·
42 revisions
← Index ← Namespace Index
public struct Vector4UByte
Namespace: VRageMath
Assembly: VRage.Math.dll
Vector4UByte(byte x, byte y, byte z, byte w)
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)
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!