UnitizeVector(Array) Function

Top 

Description

Returns the unit vector by dividing the given vector by its own magnitude.

 

This function has been Deprecated. Please use [Array].Normalized() instead.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

 

Function Signature

UnitizeVector(

Array vector)

 

 

Arguments

vector


Description:

A three-element vector.

Required Size:

At least 3

 

 

 

Return Value

Type:

Array of number (size = 3)

 

 

Returns the unit vector by dividing the given vector by its own magnitude.

 

Syntax

myArray1 = UnitizeVector(myArray2);

 

 

Example 1

 

 

Example 2

 

 

See also

UnitizeVector