Skip to content

format

typescript
Vector2.normalized

class: Vector2

description

(Read Only) Returns the normalized value of the vector.

parameter

param_nametypedescription

reture

typedescription
Vector2The normalized value of the vector.

code example

typescript
let v2 = new Vector2(-1, -2);
let normalized_v2 = v2.normalized;