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

VRageMath.Vector4UByte.Normalize

Malware edited this page May 4, 2019 · 16 revisions

IndexNamespace IndexVector4UByte

Summary

public static Vector4UByte Normalize(Vector3 vec, float range)

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

Returns

Vector4UByte

Parameters

Clone this wiki locally