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

Last Updated: 17 December, 2024