web_sys/features/
gen_VrStageParameters.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = VRStageParameters , typescript_type = "VRStageParameters")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `VrStageParameters` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"]
14    pub type VrStageParameters;
15    # [wasm_bindgen (structural , catch , method , getter , js_class = "VRStageParameters" , js_name = sittingToStandingTransform)]
16    #[doc = "Getter for the `sittingToStandingTransform` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sittingToStandingTransform)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"]
21    pub fn sitting_to_standing_transform(
22        this: &VrStageParameters,
23    ) -> Result<::alloc::vec::Vec<f32>, JsValue>;
24    # [wasm_bindgen (structural , method , getter , js_class = "VRStageParameters" , js_name = sizeX)]
25    #[doc = "Getter for the `sizeX` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeX)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"]
30    pub fn size_x(this: &VrStageParameters) -> f32;
31    # [wasm_bindgen (structural , method , getter , js_class = "VRStageParameters" , js_name = sizeZ)]
32    #[doc = "Getter for the `sizeZ` field of this object."]
33    #[doc = ""]
34    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRStageParameters/sizeZ)"]
35    #[doc = ""]
36    #[doc = "*This API requires the following crate features to be activated: `VrStageParameters`*"]
37    pub fn size_z(this: &VrStageParameters) -> f32;
38}