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 = VRStageParameters , typescript_type = "VRStageParameters" ) ] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `VrStageParameters` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"] 13 pub type VrStageParameters; 14 # [ wasm_bindgen ( structural , catch , method , getter , js_class = "VRStageParameters" , js_name = sittingToStandingTransform ) ] 15 #[doc = "Getter for the `sittingToStandingTransform` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sittingToStandingTransform)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"] sitting_to_standing_transform(this: &VrStageParameters) -> Result<Vec<f32>, JsValue>20 pub fn sitting_to_standing_transform(this: &VrStageParameters) -> Result<Vec<f32>, JsValue>; 21 # [ wasm_bindgen ( structural , method , getter , js_class = "VRStageParameters" , js_name = sizeX ) ] 22 #[doc = "Getter for the `sizeX` field of this object."] 23 #[doc = ""] 24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeX)"] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"] size_x(this: &VrStageParameters) -> f3227 pub fn size_x(this: &VrStageParameters) -> f32; 28 # [ wasm_bindgen ( structural , method , getter , js_class = "VRStageParameters" , js_name = sizeZ ) ] 29 #[doc = "Getter for the `sizeZ` field of this object."] 30 #[doc = ""] 31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeZ)"] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"] size_z(this: &VrStageParameters) -> f3234 pub fn size_z(this: &VrStageParameters) -> f32; 35 } 36