Constructor
Quat.Default Constructor
Syntax
Quat(X = 0, Y = X, Z = X, W = X)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
X
optional
|
number | 0 |
The quaternion's X-component |
Y
optional
|
number | X |
The quaternion's Y-component |
Z
optional
|
number | X |
The quaternion's Z-component |
W
optional
|
number | X |
The quaternion's W-component |