getCameraProps
getCameraProps
():Promise
<object
, Error>
현재 카메라 설정값 반환 (360도 영상)
cameraProps object 구조
{ "yaw": 360, "pitch": 90, "roll": 180, "fov": 45 }
함수 예시
player.getCameraProps().then((cameraProps)=> { // cameraProps : 현재 카메라 설정값 }).catch(function(error) { // an error occurred });