1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[cfg(web_sys_unstable_apis)] 5 #[wasm_bindgen] 6 extern "C" { 7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = XRView , typescript_type = "XRView")] 8 #[derive(Debug, Clone, PartialEq, Eq)] 9 #[doc = "The `XrView` class."] 10 #[doc = ""] 11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView)"] 12 #[doc = ""] 13 #[doc = "*This API requires the following crate features to be activated: `XrView`*"] 14 #[doc = ""] 15 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 16 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] 17 pub type XrView; 18 #[cfg(web_sys_unstable_apis)] 19 #[cfg(feature = "XrEye")] 20 # [wasm_bindgen (structural , method , getter , js_class = "XRView" , js_name = eye)] 21 #[doc = "Getter for the `eye` field of this object."] 22 #[doc = ""] 23 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView/eye)"] 24 #[doc = ""] 25 #[doc = "*This API requires the following crate features to be activated: `XrEye`, `XrView`*"] 26 #[doc = ""] 27 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 28 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] eye(this: &XrView) -> XrEye29 pub fn eye(this: &XrView) -> XrEye; 30 #[cfg(web_sys_unstable_apis)] 31 # [wasm_bindgen (structural , method , getter , js_class = "XRView" , js_name = projectionMatrix)] 32 #[doc = "Getter for the `projectionMatrix` field of this object."] 33 #[doc = ""] 34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView/projectionMatrix)"] 35 #[doc = ""] 36 #[doc = "*This API requires the following crate features to be activated: `XrView`*"] 37 #[doc = ""] 38 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 39 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] projection_matrix(this: &XrView) -> Vec<f32>40 pub fn projection_matrix(this: &XrView) -> Vec<f32>; 41 #[cfg(web_sys_unstable_apis)] 42 #[cfg(feature = "XrRigidTransform")] 43 # [wasm_bindgen (structural , method , getter , js_class = "XRView" , js_name = transform)] 44 #[doc = "Getter for the `transform` field of this object."] 45 #[doc = ""] 46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XRView/transform)"] 47 #[doc = ""] 48 #[doc = "*This API requires the following crate features to be activated: `XrRigidTransform`, `XrView`*"] 49 #[doc = ""] 50 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] 51 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] transform(this: &XrView) -> XrRigidTransform52 pub fn transform(this: &XrView) -> XrRigidTransform; 53 } 54