1019 lines
54 KiB
Rust
1019 lines
54 KiB
Rust
#![allow(unused_imports)]
|
|
#![allow(clippy::all)]
|
|
use super::*;
|
|
use wasm_bindgen::prelude::*;
|
|
#[wasm_bindgen]
|
|
extern "C" {
|
|
#[wasm_bindgen(
|
|
extends = "::js_sys::Object",
|
|
js_name = "VRMockDisplay",
|
|
typescript_type = "VRMockDisplay"
|
|
)]
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
#[doc = "The `VrMockDisplay` class."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub type VrMockDisplay;
|
|
#[cfg(feature = "VrEye")]
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setEyeParameter")]
|
|
#[doc = "The `setEyeParameter()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeParameter)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrEye`, `VrMockDisplay`*"]
|
|
pub fn set_eye_parameter(
|
|
this: &VrMockDisplay,
|
|
eye: VrEye,
|
|
offset_x: f64,
|
|
offset_y: f64,
|
|
offset_z: f64,
|
|
up_degree: f64,
|
|
right_degree: f64,
|
|
down_degree: f64,
|
|
left_degree: f64,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setEyeResolution")]
|
|
#[doc = "The `setEyeResolution()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeResolution)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_eye_resolution(this: &VrMockDisplay, a_render_width: u32, a_render_height: u32);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setMountState")]
|
|
#[doc = "The `setMountState()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setMountState)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_mount_state(this: &VrMockDisplay, is_mounted: bool);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&mut [f32]>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&mut [f32]>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&mut [f32]>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&mut [f32]>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&mut [f32]>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_slice_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&mut [f32]>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
|
|
#[doc = "The `setPose()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn set_pose_with_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array_and_opt_f32_array(
|
|
this: &VrMockDisplay,
|
|
position: Option<&::js_sys::Float32Array>,
|
|
linear_velocity: Option<&::js_sys::Float32Array>,
|
|
linear_acceleration: Option<&::js_sys::Float32Array>,
|
|
orientation: Option<&::js_sys::Float32Array>,
|
|
angular_velocity: Option<&::js_sys::Float32Array>,
|
|
angular_acceleration: Option<&::js_sys::Float32Array>,
|
|
);
|
|
#[wasm_bindgen(method, js_class = "VRMockDisplay")]
|
|
#[doc = "The `update()` method."]
|
|
#[doc = ""]
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/update)"]
|
|
#[doc = ""]
|
|
#[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
|
|
pub fn update(this: &VrMockDisplay);
|
|
}
|