@kulvinderjatt so funny I just asked this same question: How to determine camera tilt or direction relative to the surface?
Looks like what you’re looking for is the camera.pitch
. The value is is Radians, if you do camera.pitch * (180 / Math.PI)
you will get degrees.
The camera looking straight at the ground is -90 degrees.
Looking at the horizon is 0 degrees.
Looking straight up is 90 degrees.
Hope this helps!