toJSON Method
Convert to a JSON object of form { pitch: 20 , roll: 30 , yaw: 10 }. Angles are in degrees.
Any values that are exactly zero (with tolerance Geometry.smallAngleRadians
) are omitted.
toJSON(): YawPitchRollProps
Returns - YawPitchRollProps
Defined in
- geometry3d/YawPitchRollAngles.ts Line 124
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.