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

VRageMath.Vector4UByte.Normalize

Malware edited this page Dec 25, 2018 · 17 revisions

IndexVector4UByte

csharp[Vector4UByte](VRageMath.Vector4UByte) Normalize([Vector3](VRageMath.Vector3) vec, [float](System.Single) range)##### Summary

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

Clone this wiki locally