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

VRageMath.Vector3.Normalize

Malware edited this page Apr 8, 2019 · 18 revisions

IndexNamespace IndexVector3

Summary

public float 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

float

Summary

public static Vector3 Normalize(Vector3 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

Vector3

Parameters

Summary

public static Vector3 Normalize(Vector3D value)

Returns

Vector3

Parameters

Summary

public static void Normalize(ref Vector3 value, ref Vector3 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.

Parameters

Clone this wiki locally