Vector4.getNormalized() - Mtax-Development/GML-OOP GitHub Wiki

Argument

Name
Type
Optional
magnitude?
Yes

Returns

{Vector4} | On error: {undefined}

Description

Return the unit vector of this Vector4, which will have its values placed between -1 and 1, but with the same direction. These values are then multiplied by the specified magnitude.

⚠️ **GitHub.com Fallback** ⚠️