Skip to main content

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