toJSON Method

Convert to a JSON object of form { pitch: 20 , roll: 29.999999999999996 , yaw: 10 }. Any values that are exactly zero (with tolerance Geometry.smallAngleRadians) are omitted.

toJSON(): YawPitchRollProps

Returns - YawPitchRollProps

Defined in

Last Updated: 11 June, 2024