Skip to content

format

typescript
Vector3.toString()

class: Vector3

description

Returns the formatted string of this vector.

parameter

param_nametypedescription

reture

typedescription
stringReturns the string value in the format "(x,y,z)".

code example

typescript
let lhs = new Vector3(1,2,3);
Debug.Log("Vector3 toString result is",lhs.toString());