API Reference > geometry-core > CartesianGeometry > YawPitchRollAngles > toJSON 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 core/geometry/src/geometry3d/YawPitchRollAngles.ts Line 84 Last Updated: 13 June, 2024