FQuat
classRotation quaternion
- read-only Assigning to the field raises an error.
Fields
| Name | Type | Description | |
|---|---|---|---|
| identity | read-only | FQuat | Zero rotation |
| x | number | ||
| y | number | ||
| z | number | ||
| w | number | ||
Functions
FQuat.new(x, y, z, w)
Create a quaternion from raw components
| x | number | |
| y | number | |
| z | number | |
| w | number |
returns FQuat
Used by
- BlockLogic.quat field
- Dimension.place param
- GenContext.spawn_block param
- Transform.set_rotation param
- Transform.get_rotation return