Skip to content

format

typescript
Vector4.toString()

class: Vector4

description

Get the formatted string of the current vector.

parameter

param_nametypedescription

reture

typedescription
stringThe formatted string of the current vector.

code example

typescript
let v4 = new Vector4(-1, -2, -3, -4);
Debug.Log(v4.ToString()); // (-1, -2, -3, -4)