Set the components of this Quaternion and optionally call the onChangeCallback
.
name | type | arguments | Default | description |
---|---|---|---|---|
x | number | object | <optional> | 0 |
The x component, or an object containing x, y, z, and w components. |
y | number | <optional> | 0 |
The y component. |
z | number | <optional> | 0 |
The z component. |
w | number | <optional> | 0 |
The w component. |
update | boolean | <optional> | true |
Call the |
This Quaternion.