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

VRageMath.Vector2.Normalize

Malware edited this page Dec 25, 2018 · 17 revisions

IndexVector2

Summary

private public void Normalize()

Turns the current vector into a unit vector. The result is a vector one unit in length pointing in the same direction as the original vector.

Returns

Example

Remarks

Summary

private public private public sealed struct.Vector2 Normalize(private public sealed struct.Vector2 value)

Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector.

Returns

Example

Remarks

Summary

private public void Normalize(ref private public sealed struct.Vector2 value, ref private public sealed struct.Vector2 result)

Creates a unit vector from the specified vector, writing the result to a user-specified variable. The result is a vector one unit in length pointing in the same direction as the original vector.

Returns

Example

Remarks

Clone this wiki locally