Why is camera rotation private?

I don’t understand the point of making the rotation attribute private on the camera. Is there some other way that I should use instead to get this data ?

Not only does it feel very weird to have setRotation and setAngle on the camera without a readable property or a getter in the same place, it’s a very useful attribute and I don’t see a way to get it without forcing compilation using comments or the “as any” trick.

It also makes the code example in the camera docs return an error, at least when using TypeScript.

I think it’s a mistake. You could make a PR.