1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRFieldOfView , typescript_type = "VRFieldOfView")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `VrFieldOfView` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"] 13 pub type VrFieldOfView; 14 # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = upDegrees)] 15 #[doc = "Getter for the `upDegrees` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/upDegrees)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"] up_degrees(this: &VrFieldOfView) -> f6420 pub fn up_degrees(this: &VrFieldOfView) -> f64; 21 # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = rightDegrees)] 22 #[doc = "Getter for the `rightDegrees` field of this object."] 23 #[doc = ""] 24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/rightDegrees)"] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"] right_degrees(this: &VrFieldOfView) -> f6427 pub fn right_degrees(this: &VrFieldOfView) -> f64; 28 # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = downDegrees)] 29 #[doc = "Getter for the `downDegrees` field of this object."] 30 #[doc = ""] 31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/downDegrees)"] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"] down_degrees(this: &VrFieldOfView) -> f6434 pub fn down_degrees(this: &VrFieldOfView) -> f64; 35 # [wasm_bindgen (structural , method , getter , js_class = "VRFieldOfView" , js_name = leftDegrees)] 36 #[doc = "Getter for the `leftDegrees` field of this object."] 37 #[doc = ""] 38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/leftDegrees)"] 39 #[doc = ""] 40 #[doc = "*This API requires the following crate features to be activated: `VrFieldOfView`*"] left_degrees(this: &VrFieldOfView) -> f6441 pub fn left_degrees(this: &VrFieldOfView) -> f64; 42 } 43