DeviceOrientationCamera properties not displayed in inspector

I noticed in my own project that in the inspector, selecting DeviceOrientationCamera doesn’t show any camera properties, whereas it does for ArcRotateCamera.

Checking the PG example linked in the camera docs exhibits the same behaviour:

https://www.babylonjs-playground.com/#SRZRWV#3

The three supported cameras (currently) are universal, free, and arcrotate cameras.

Having said that, I don’t see why cameras that are extending a free camera won’t be included. Want to submit a github issue?

Or even better a PR?

Github issue DeviceOrientationCamera properties not displayed in inspector · Issue #7697 · BabylonJS/Babylon.js · GitHub

Will aim to take a look & submit a PR.

1 Like

I am submitting one since I have a minor change to the webxr camera as well

3 Likes

Doing some housekeeping. Looks like @RaananW fixed your issue in this pr.