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 13, 2025 · 17 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 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