format
typescript
Quaternion.SetValues(x, y, z, w)class: Quaternion
description
Set the individual components of a quaternion.
parameter
| param_name | type | description |
|---|---|---|
| x | number | The x component. |
| y | number | The y component. |
| z | number | The z component. |
| w | number | The w component. |
reture
| type | description |
|---|---|
void |
code example
typescript
function QuaternionTest (){
let identity = Quaternion.identity;
identity.SetValue(1,2,3,4);
}