squat
- Last UpdatedSep 05, 2024
- 1 minute read
This topic is about the SQUAT data type.
Value syntax
1 0 1 0.5
Description
Used to host a quaternion representation of a transform rotation.
Attributes
These are the attributes for SQUAT.
|
Attribute |
Type |
Description |
|---|---|---|
|
isModified |
sbool |
Sets to True in the frame where the value of this field is modified. |
|
toEuler(senum rotationOrder) |
svec3 |
Converts the quaternion rotation representation in a vector of Euler angles. You must specify the required axis order from the six possible orders: XYZ, XZY, YXZ, YZX, ZXY, ZYX. |
|
type |
sstring |
Returns the type name. |
|
x y z w |
sfloat |
Obtains single values from the quaternion. |