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 = VREyeParameters , typescript_type = "VREyeParameters")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `VrEyeParameters` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"]
13     pub type VrEyeParameters;
14     # [wasm_bindgen (structural , catch , method , getter , js_class = "VREyeParameters" , js_name = offset)]
15     #[doc = "Getter for the `offset` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/offset)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"]
offset(this: &VrEyeParameters) -> Result<Vec<f32>, JsValue>20     pub fn offset(this: &VrEyeParameters) -> Result<Vec<f32>, JsValue>;
21     #[cfg(feature = "VrFieldOfView")]
22     # [wasm_bindgen (structural , method , getter , js_class = "VREyeParameters" , js_name = fieldOfView)]
23     #[doc = "Getter for the `fieldOfView` field of this object."]
24     #[doc = ""]
25     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/fieldOfView)"]
26     #[doc = ""]
27     #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`, `VrFieldOfView`*"]
field_of_view(this: &VrEyeParameters) -> VrFieldOfView28     pub fn field_of_view(this: &VrEyeParameters) -> VrFieldOfView;
29     # [wasm_bindgen (structural , method , getter , js_class = "VREyeParameters" , js_name = renderWidth)]
30     #[doc = "Getter for the `renderWidth` field of this object."]
31     #[doc = ""]
32     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/renderWidth)"]
33     #[doc = ""]
34     #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"]
render_width(this: &VrEyeParameters) -> u3235     pub fn render_width(this: &VrEyeParameters) -> u32;
36     # [wasm_bindgen (structural , method , getter , js_class = "VREyeParameters" , js_name = renderHeight)]
37     #[doc = "Getter for the `renderHeight` field of this object."]
38     #[doc = ""]
39     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VREyeParameters/renderHeight)"]
40     #[doc = ""]
41     #[doc = "*This API requires the following crate features to be activated: `VrEyeParameters`*"]
render_height(this: &VrEyeParameters) -> u3242     pub fn render_height(this: &VrEyeParameters) -> u32;
43 }
44