Having looked through all the documentation, I found a method that allows me to get the angle of view VrWidgetView docs
getHeadRotation(float[] yawAndPitch)
I need then to save it and apply at the next launch of video. Any way that it can be set programatically? Thanks in advance.
Update: Actually that method returns void. And I can't even see any difference when using it with different yaw and pitch values. So I need to know how to both get and set the rotation values.
Update 2: it is hilarious but only now I found out that the values are actually written to parameter instead of returning them. So I can get them, but don't see how I can apply them.
I think setting the head rotation in VR is a big no. It is very unnatural, it can cause nausea and provides a very bad experience. If you need to set a starting rotation, you should probably go with rotating the world.