format
typescript
Quaternion.toString()class: Quaternion
description
Converts a quaternion to a string representation.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
string | A string representation of the quaternion. |
code example
typescript
function QuaternionTest (){
let rotate = new Quaternion(1, 1, 1, 1);
let str = rotate.toString();
Debug.Log(str);
}