Rotate to yaw/pitch
This will rotate the camera to the given yaw and pitch.
note
Either field can be left empty and it won't be changed.
Parameters
- Yaw (number)
- Pitch (number)
- Use mouse only (true or false)
- Use keyboard only (true or false)
This will rotate the camera to the given yaw and pitch.
Either field can be left empty and it won't be changed.