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

Defined in

Last Updated: 08 January, 2020