Skip to content

format

typescript
Quaternion.toString()

class: Quaternion

description

Converts a quaternion to a string representation.

parameter

param_nametypedescription

reture

typedescription
stringA 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);
}