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 = "VRMockDisplay",
10 typescript_type = "VRMockDisplay"
11 )]
12 #[derive(Debug, Clone, PartialEq, Eq)]
13 #[doc = "The `VrMockDisplay` class."]
14 #[doc = ""]
15 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay)"]
16 #[doc = ""]
17 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
18 pub type VrMockDisplay;
19 #[cfg(feature = "VrEye")]
20 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setEyeParameter")]
21 #[doc = "The `setEyeParameter()` method."]
22 #[doc = ""]
23 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeParameter)"]
24 #[doc = ""]
25 #[doc = "*This API requires the following crate features to be activated: `VrEye`, `VrMockDisplay`*"]
26 pub fn set_eye_parameter(
27 this: &VrMockDisplay,
28 eye: VrEye,
29 offset_x: f64,
30 offset_y: f64,
31 offset_z: f64,
32 up_degree: f64,
33 right_degree: f64,
34 down_degree: f64,
35 left_degree: f64,
36 );
37 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setEyeResolution")]
38 #[doc = "The `setEyeResolution()` method."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setEyeResolution)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
43 pub fn set_eye_resolution(this: &VrMockDisplay, a_render_width: u32, a_render_height: u32);
44 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setMountState")]
45 #[doc = "The `setMountState()` method."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setMountState)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
50 pub fn set_mount_state(this: &VrMockDisplay, is_mounted: bool);
51 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
52 #[doc = "The `setPose()` method."]
53 #[doc = ""]
54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
55 #[doc = ""]
56 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
57 pub fn set_pose(
58 this: &VrMockDisplay,
59 position: Option<&mut [f32]>,
60 linear_velocity: Option<&mut [f32]>,
61 linear_acceleration: Option<&mut [f32]>,
62 orientation: Option<&mut [f32]>,
63 angular_velocity: Option<&mut [f32]>,
64 angular_acceleration: Option<&mut [f32]>,
65 );
66 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
67 #[doc = "The `setPose()` method."]
68 #[doc = ""]
69 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
70 #[doc = ""]
71 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
72 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(
73 this: &VrMockDisplay,
74 position: Option<&::js_sys::Float32Array>,
75 linear_velocity: Option<&mut [f32]>,
76 linear_acceleration: Option<&mut [f32]>,
77 orientation: Option<&mut [f32]>,
78 angular_velocity: Option<&mut [f32]>,
79 angular_acceleration: Option<&mut [f32]>,
80 );
81 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
82 #[doc = "The `setPose()` method."]
83 #[doc = ""]
84 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
85 #[doc = ""]
86 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
87 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(
88 this: &VrMockDisplay,
89 position: Option<&mut [f32]>,
90 linear_velocity: Option<&::js_sys::Float32Array>,
91 linear_acceleration: Option<&mut [f32]>,
92 orientation: Option<&mut [f32]>,
93 angular_velocity: Option<&mut [f32]>,
94 angular_acceleration: Option<&mut [f32]>,
95 );
96 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
97 #[doc = "The `setPose()` method."]
98 #[doc = ""]
99 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
100 #[doc = ""]
101 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
102 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(
103 this: &VrMockDisplay,
104 position: Option<&::js_sys::Float32Array>,
105 linear_velocity: Option<&::js_sys::Float32Array>,
106 linear_acceleration: Option<&mut [f32]>,
107 orientation: Option<&mut [f32]>,
108 angular_velocity: Option<&mut [f32]>,
109 angular_acceleration: Option<&mut [f32]>,
110 );
111 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
112 #[doc = "The `setPose()` method."]
113 #[doc = ""]
114 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
115 #[doc = ""]
116 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
117 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(
118 this: &VrMockDisplay,
119 position: Option<&mut [f32]>,
120 linear_velocity: Option<&mut [f32]>,
121 linear_acceleration: Option<&::js_sys::Float32Array>,
122 orientation: Option<&mut [f32]>,
123 angular_velocity: Option<&mut [f32]>,
124 angular_acceleration: Option<&mut [f32]>,
125 );
126 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
127 #[doc = "The `setPose()` method."]
128 #[doc = ""]
129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
130 #[doc = ""]
131 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
132 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(
133 this: &VrMockDisplay,
134 position: Option<&::js_sys::Float32Array>,
135 linear_velocity: Option<&mut [f32]>,
136 linear_acceleration: Option<&::js_sys::Float32Array>,
137 orientation: Option<&mut [f32]>,
138 angular_velocity: Option<&mut [f32]>,
139 angular_acceleration: Option<&mut [f32]>,
140 );
141 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
142 #[doc = "The `setPose()` method."]
143 #[doc = ""]
144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
145 #[doc = ""]
146 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
147 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(
148 this: &VrMockDisplay,
149 position: Option<&mut [f32]>,
150 linear_velocity: Option<&::js_sys::Float32Array>,
151 linear_acceleration: Option<&::js_sys::Float32Array>,
152 orientation: Option<&mut [f32]>,
153 angular_velocity: Option<&mut [f32]>,
154 angular_acceleration: Option<&mut [f32]>,
155 );
156 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
157 #[doc = "The `setPose()` method."]
158 #[doc = ""]
159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
160 #[doc = ""]
161 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
162 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(
163 this: &VrMockDisplay,
164 position: Option<&::js_sys::Float32Array>,
165 linear_velocity: Option<&::js_sys::Float32Array>,
166 linear_acceleration: Option<&::js_sys::Float32Array>,
167 orientation: Option<&mut [f32]>,
168 angular_velocity: Option<&mut [f32]>,
169 angular_acceleration: Option<&mut [f32]>,
170 );
171 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
172 #[doc = "The `setPose()` method."]
173 #[doc = ""]
174 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
175 #[doc = ""]
176 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
177 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(
178 this: &VrMockDisplay,
179 position: Option<&mut [f32]>,
180 linear_velocity: Option<&mut [f32]>,
181 linear_acceleration: Option<&mut [f32]>,
182 orientation: Option<&::js_sys::Float32Array>,
183 angular_velocity: Option<&mut [f32]>,
184 angular_acceleration: Option<&mut [f32]>,
185 );
186 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
187 #[doc = "The `setPose()` method."]
188 #[doc = ""]
189 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
190 #[doc = ""]
191 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
192 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(
193 this: &VrMockDisplay,
194 position: Option<&::js_sys::Float32Array>,
195 linear_velocity: Option<&mut [f32]>,
196 linear_acceleration: Option<&mut [f32]>,
197 orientation: Option<&::js_sys::Float32Array>,
198 angular_velocity: Option<&mut [f32]>,
199 angular_acceleration: Option<&mut [f32]>,
200 );
201 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
202 #[doc = "The `setPose()` method."]
203 #[doc = ""]
204 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
205 #[doc = ""]
206 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
207 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(
208 this: &VrMockDisplay,
209 position: Option<&mut [f32]>,
210 linear_velocity: Option<&::js_sys::Float32Array>,
211 linear_acceleration: Option<&mut [f32]>,
212 orientation: Option<&::js_sys::Float32Array>,
213 angular_velocity: Option<&mut [f32]>,
214 angular_acceleration: Option<&mut [f32]>,
215 );
216 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
217 #[doc = "The `setPose()` method."]
218 #[doc = ""]
219 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
220 #[doc = ""]
221 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
222 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(
223 this: &VrMockDisplay,
224 position: Option<&::js_sys::Float32Array>,
225 linear_velocity: Option<&::js_sys::Float32Array>,
226 linear_acceleration: Option<&mut [f32]>,
227 orientation: Option<&::js_sys::Float32Array>,
228 angular_velocity: Option<&mut [f32]>,
229 angular_acceleration: Option<&mut [f32]>,
230 );
231 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
232 #[doc = "The `setPose()` method."]
233 #[doc = ""]
234 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
235 #[doc = ""]
236 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
237 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(
238 this: &VrMockDisplay,
239 position: Option<&mut [f32]>,
240 linear_velocity: Option<&mut [f32]>,
241 linear_acceleration: Option<&::js_sys::Float32Array>,
242 orientation: Option<&::js_sys::Float32Array>,
243 angular_velocity: Option<&mut [f32]>,
244 angular_acceleration: Option<&mut [f32]>,
245 );
246 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
247 #[doc = "The `setPose()` method."]
248 #[doc = ""]
249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
250 #[doc = ""]
251 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
252 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(
253 this: &VrMockDisplay,
254 position: Option<&::js_sys::Float32Array>,
255 linear_velocity: Option<&mut [f32]>,
256 linear_acceleration: Option<&::js_sys::Float32Array>,
257 orientation: Option<&::js_sys::Float32Array>,
258 angular_velocity: Option<&mut [f32]>,
259 angular_acceleration: Option<&mut [f32]>,
260 );
261 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
262 #[doc = "The `setPose()` method."]
263 #[doc = ""]
264 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
265 #[doc = ""]
266 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
267 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(
268 this: &VrMockDisplay,
269 position: Option<&mut [f32]>,
270 linear_velocity: Option<&::js_sys::Float32Array>,
271 linear_acceleration: Option<&::js_sys::Float32Array>,
272 orientation: Option<&::js_sys::Float32Array>,
273 angular_velocity: Option<&mut [f32]>,
274 angular_acceleration: Option<&mut [f32]>,
275 );
276 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
277 #[doc = "The `setPose()` method."]
278 #[doc = ""]
279 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
280 #[doc = ""]
281 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
282 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(
283 this: &VrMockDisplay,
284 position: Option<&::js_sys::Float32Array>,
285 linear_velocity: Option<&::js_sys::Float32Array>,
286 linear_acceleration: Option<&::js_sys::Float32Array>,
287 orientation: Option<&::js_sys::Float32Array>,
288 angular_velocity: Option<&mut [f32]>,
289 angular_acceleration: Option<&mut [f32]>,
290 );
291 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
292 #[doc = "The `setPose()` method."]
293 #[doc = ""]
294 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
295 #[doc = ""]
296 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
297 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(
298 this: &VrMockDisplay,
299 position: Option<&mut [f32]>,
300 linear_velocity: Option<&mut [f32]>,
301 linear_acceleration: Option<&mut [f32]>,
302 orientation: Option<&mut [f32]>,
303 angular_velocity: Option<&::js_sys::Float32Array>,
304 angular_acceleration: Option<&mut [f32]>,
305 );
306 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
307 #[doc = "The `setPose()` method."]
308 #[doc = ""]
309 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
310 #[doc = ""]
311 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
312 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(
313 this: &VrMockDisplay,
314 position: Option<&::js_sys::Float32Array>,
315 linear_velocity: Option<&mut [f32]>,
316 linear_acceleration: Option<&mut [f32]>,
317 orientation: Option<&mut [f32]>,
318 angular_velocity: Option<&::js_sys::Float32Array>,
319 angular_acceleration: Option<&mut [f32]>,
320 );
321 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
322 #[doc = "The `setPose()` method."]
323 #[doc = ""]
324 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
325 #[doc = ""]
326 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
327 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(
328 this: &VrMockDisplay,
329 position: Option<&mut [f32]>,
330 linear_velocity: Option<&::js_sys::Float32Array>,
331 linear_acceleration: Option<&mut [f32]>,
332 orientation: Option<&mut [f32]>,
333 angular_velocity: Option<&::js_sys::Float32Array>,
334 angular_acceleration: Option<&mut [f32]>,
335 );
336 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
337 #[doc = "The `setPose()` method."]
338 #[doc = ""]
339 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
340 #[doc = ""]
341 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
342 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(
343 this: &VrMockDisplay,
344 position: Option<&::js_sys::Float32Array>,
345 linear_velocity: Option<&::js_sys::Float32Array>,
346 linear_acceleration: Option<&mut [f32]>,
347 orientation: Option<&mut [f32]>,
348 angular_velocity: Option<&::js_sys::Float32Array>,
349 angular_acceleration: Option<&mut [f32]>,
350 );
351 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
352 #[doc = "The `setPose()` method."]
353 #[doc = ""]
354 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
355 #[doc = ""]
356 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
357 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(
358 this: &VrMockDisplay,
359 position: Option<&mut [f32]>,
360 linear_velocity: Option<&mut [f32]>,
361 linear_acceleration: Option<&::js_sys::Float32Array>,
362 orientation: Option<&mut [f32]>,
363 angular_velocity: Option<&::js_sys::Float32Array>,
364 angular_acceleration: Option<&mut [f32]>,
365 );
366 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
367 #[doc = "The `setPose()` method."]
368 #[doc = ""]
369 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
370 #[doc = ""]
371 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
372 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(
373 this: &VrMockDisplay,
374 position: Option<&::js_sys::Float32Array>,
375 linear_velocity: Option<&mut [f32]>,
376 linear_acceleration: Option<&::js_sys::Float32Array>,
377 orientation: Option<&mut [f32]>,
378 angular_velocity: Option<&::js_sys::Float32Array>,
379 angular_acceleration: Option<&mut [f32]>,
380 );
381 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
382 #[doc = "The `setPose()` method."]
383 #[doc = ""]
384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
385 #[doc = ""]
386 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
387 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(
388 this: &VrMockDisplay,
389 position: Option<&mut [f32]>,
390 linear_velocity: Option<&::js_sys::Float32Array>,
391 linear_acceleration: Option<&::js_sys::Float32Array>,
392 orientation: Option<&mut [f32]>,
393 angular_velocity: Option<&::js_sys::Float32Array>,
394 angular_acceleration: Option<&mut [f32]>,
395 );
396 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
397 #[doc = "The `setPose()` method."]
398 #[doc = ""]
399 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
400 #[doc = ""]
401 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
402 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(
403 this: &VrMockDisplay,
404 position: Option<&::js_sys::Float32Array>,
405 linear_velocity: Option<&::js_sys::Float32Array>,
406 linear_acceleration: Option<&::js_sys::Float32Array>,
407 orientation: Option<&mut [f32]>,
408 angular_velocity: Option<&::js_sys::Float32Array>,
409 angular_acceleration: Option<&mut [f32]>,
410 );
411 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
412 #[doc = "The `setPose()` method."]
413 #[doc = ""]
414 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
415 #[doc = ""]
416 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
417 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(
418 this: &VrMockDisplay,
419 position: Option<&mut [f32]>,
420 linear_velocity: Option<&mut [f32]>,
421 linear_acceleration: Option<&mut [f32]>,
422 orientation: Option<&::js_sys::Float32Array>,
423 angular_velocity: Option<&::js_sys::Float32Array>,
424 angular_acceleration: Option<&mut [f32]>,
425 );
426 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
427 #[doc = "The `setPose()` method."]
428 #[doc = ""]
429 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
430 #[doc = ""]
431 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
432 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(
433 this: &VrMockDisplay,
434 position: Option<&::js_sys::Float32Array>,
435 linear_velocity: Option<&mut [f32]>,
436 linear_acceleration: Option<&mut [f32]>,
437 orientation: Option<&::js_sys::Float32Array>,
438 angular_velocity: Option<&::js_sys::Float32Array>,
439 angular_acceleration: Option<&mut [f32]>,
440 );
441 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
442 #[doc = "The `setPose()` method."]
443 #[doc = ""]
444 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
445 #[doc = ""]
446 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
447 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(
448 this: &VrMockDisplay,
449 position: Option<&mut [f32]>,
450 linear_velocity: Option<&::js_sys::Float32Array>,
451 linear_acceleration: Option<&mut [f32]>,
452 orientation: Option<&::js_sys::Float32Array>,
453 angular_velocity: Option<&::js_sys::Float32Array>,
454 angular_acceleration: Option<&mut [f32]>,
455 );
456 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
457 #[doc = "The `setPose()` method."]
458 #[doc = ""]
459 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
460 #[doc = ""]
461 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
462 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(
463 this: &VrMockDisplay,
464 position: Option<&::js_sys::Float32Array>,
465 linear_velocity: Option<&::js_sys::Float32Array>,
466 linear_acceleration: Option<&mut [f32]>,
467 orientation: Option<&::js_sys::Float32Array>,
468 angular_velocity: Option<&::js_sys::Float32Array>,
469 angular_acceleration: Option<&mut [f32]>,
470 );
471 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
472 #[doc = "The `setPose()` method."]
473 #[doc = ""]
474 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
475 #[doc = ""]
476 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
477 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(
478 this: &VrMockDisplay,
479 position: Option<&mut [f32]>,
480 linear_velocity: Option<&mut [f32]>,
481 linear_acceleration: Option<&::js_sys::Float32Array>,
482 orientation: Option<&::js_sys::Float32Array>,
483 angular_velocity: Option<&::js_sys::Float32Array>,
484 angular_acceleration: Option<&mut [f32]>,
485 );
486 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
487 #[doc = "The `setPose()` method."]
488 #[doc = ""]
489 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
490 #[doc = ""]
491 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
492 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(
493 this: &VrMockDisplay,
494 position: Option<&::js_sys::Float32Array>,
495 linear_velocity: Option<&mut [f32]>,
496 linear_acceleration: Option<&::js_sys::Float32Array>,
497 orientation: Option<&::js_sys::Float32Array>,
498 angular_velocity: Option<&::js_sys::Float32Array>,
499 angular_acceleration: Option<&mut [f32]>,
500 );
501 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
502 #[doc = "The `setPose()` method."]
503 #[doc = ""]
504 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
505 #[doc = ""]
506 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
507 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(
508 this: &VrMockDisplay,
509 position: Option<&mut [f32]>,
510 linear_velocity: Option<&::js_sys::Float32Array>,
511 linear_acceleration: Option<&::js_sys::Float32Array>,
512 orientation: Option<&::js_sys::Float32Array>,
513 angular_velocity: Option<&::js_sys::Float32Array>,
514 angular_acceleration: Option<&mut [f32]>,
515 );
516 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
517 #[doc = "The `setPose()` method."]
518 #[doc = ""]
519 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
520 #[doc = ""]
521 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
522 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(
523 this: &VrMockDisplay,
524 position: Option<&::js_sys::Float32Array>,
525 linear_velocity: Option<&::js_sys::Float32Array>,
526 linear_acceleration: Option<&::js_sys::Float32Array>,
527 orientation: Option<&::js_sys::Float32Array>,
528 angular_velocity: Option<&::js_sys::Float32Array>,
529 angular_acceleration: Option<&mut [f32]>,
530 );
531 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
532 #[doc = "The `setPose()` method."]
533 #[doc = ""]
534 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
535 #[doc = ""]
536 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
537 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(
538 this: &VrMockDisplay,
539 position: Option<&mut [f32]>,
540 linear_velocity: Option<&mut [f32]>,
541 linear_acceleration: Option<&mut [f32]>,
542 orientation: Option<&mut [f32]>,
543 angular_velocity: Option<&mut [f32]>,
544 angular_acceleration: Option<&::js_sys::Float32Array>,
545 );
546 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
547 #[doc = "The `setPose()` method."]
548 #[doc = ""]
549 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
550 #[doc = ""]
551 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
552 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(
553 this: &VrMockDisplay,
554 position: Option<&::js_sys::Float32Array>,
555 linear_velocity: Option<&mut [f32]>,
556 linear_acceleration: Option<&mut [f32]>,
557 orientation: Option<&mut [f32]>,
558 angular_velocity: Option<&mut [f32]>,
559 angular_acceleration: Option<&::js_sys::Float32Array>,
560 );
561 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
562 #[doc = "The `setPose()` method."]
563 #[doc = ""]
564 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
565 #[doc = ""]
566 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
567 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(
568 this: &VrMockDisplay,
569 position: Option<&mut [f32]>,
570 linear_velocity: Option<&::js_sys::Float32Array>,
571 linear_acceleration: Option<&mut [f32]>,
572 orientation: Option<&mut [f32]>,
573 angular_velocity: Option<&mut [f32]>,
574 angular_acceleration: Option<&::js_sys::Float32Array>,
575 );
576 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
577 #[doc = "The `setPose()` method."]
578 #[doc = ""]
579 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
580 #[doc = ""]
581 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
582 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(
583 this: &VrMockDisplay,
584 position: Option<&::js_sys::Float32Array>,
585 linear_velocity: Option<&::js_sys::Float32Array>,
586 linear_acceleration: Option<&mut [f32]>,
587 orientation: Option<&mut [f32]>,
588 angular_velocity: Option<&mut [f32]>,
589 angular_acceleration: Option<&::js_sys::Float32Array>,
590 );
591 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
592 #[doc = "The `setPose()` method."]
593 #[doc = ""]
594 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
595 #[doc = ""]
596 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
597 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(
598 this: &VrMockDisplay,
599 position: Option<&mut [f32]>,
600 linear_velocity: Option<&mut [f32]>,
601 linear_acceleration: Option<&::js_sys::Float32Array>,
602 orientation: Option<&mut [f32]>,
603 angular_velocity: Option<&mut [f32]>,
604 angular_acceleration: Option<&::js_sys::Float32Array>,
605 );
606 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
607 #[doc = "The `setPose()` method."]
608 #[doc = ""]
609 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
610 #[doc = ""]
611 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
612 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(
613 this: &VrMockDisplay,
614 position: Option<&::js_sys::Float32Array>,
615 linear_velocity: Option<&mut [f32]>,
616 linear_acceleration: Option<&::js_sys::Float32Array>,
617 orientation: Option<&mut [f32]>,
618 angular_velocity: Option<&mut [f32]>,
619 angular_acceleration: Option<&::js_sys::Float32Array>,
620 );
621 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
622 #[doc = "The `setPose()` method."]
623 #[doc = ""]
624 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
625 #[doc = ""]
626 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
627 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(
628 this: &VrMockDisplay,
629 position: Option<&mut [f32]>,
630 linear_velocity: Option<&::js_sys::Float32Array>,
631 linear_acceleration: Option<&::js_sys::Float32Array>,
632 orientation: Option<&mut [f32]>,
633 angular_velocity: Option<&mut [f32]>,
634 angular_acceleration: Option<&::js_sys::Float32Array>,
635 );
636 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
637 #[doc = "The `setPose()` method."]
638 #[doc = ""]
639 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
640 #[doc = ""]
641 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
642 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(
643 this: &VrMockDisplay,
644 position: Option<&::js_sys::Float32Array>,
645 linear_velocity: Option<&::js_sys::Float32Array>,
646 linear_acceleration: Option<&::js_sys::Float32Array>,
647 orientation: Option<&mut [f32]>,
648 angular_velocity: Option<&mut [f32]>,
649 angular_acceleration: Option<&::js_sys::Float32Array>,
650 );
651 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
652 #[doc = "The `setPose()` method."]
653 #[doc = ""]
654 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
655 #[doc = ""]
656 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
657 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(
658 this: &VrMockDisplay,
659 position: Option<&mut [f32]>,
660 linear_velocity: Option<&mut [f32]>,
661 linear_acceleration: Option<&mut [f32]>,
662 orientation: Option<&::js_sys::Float32Array>,
663 angular_velocity: Option<&mut [f32]>,
664 angular_acceleration: Option<&::js_sys::Float32Array>,
665 );
666 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
667 #[doc = "The `setPose()` method."]
668 #[doc = ""]
669 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
670 #[doc = ""]
671 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
672 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(
673 this: &VrMockDisplay,
674 position: Option<&::js_sys::Float32Array>,
675 linear_velocity: Option<&mut [f32]>,
676 linear_acceleration: Option<&mut [f32]>,
677 orientation: Option<&::js_sys::Float32Array>,
678 angular_velocity: Option<&mut [f32]>,
679 angular_acceleration: Option<&::js_sys::Float32Array>,
680 );
681 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
682 #[doc = "The `setPose()` method."]
683 #[doc = ""]
684 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
685 #[doc = ""]
686 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
687 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(
688 this: &VrMockDisplay,
689 position: Option<&mut [f32]>,
690 linear_velocity: Option<&::js_sys::Float32Array>,
691 linear_acceleration: Option<&mut [f32]>,
692 orientation: Option<&::js_sys::Float32Array>,
693 angular_velocity: Option<&mut [f32]>,
694 angular_acceleration: Option<&::js_sys::Float32Array>,
695 );
696 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
697 #[doc = "The `setPose()` method."]
698 #[doc = ""]
699 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
700 #[doc = ""]
701 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
702 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(
703 this: &VrMockDisplay,
704 position: Option<&::js_sys::Float32Array>,
705 linear_velocity: Option<&::js_sys::Float32Array>,
706 linear_acceleration: Option<&mut [f32]>,
707 orientation: Option<&::js_sys::Float32Array>,
708 angular_velocity: Option<&mut [f32]>,
709 angular_acceleration: Option<&::js_sys::Float32Array>,
710 );
711 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
712 #[doc = "The `setPose()` method."]
713 #[doc = ""]
714 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
715 #[doc = ""]
716 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
717 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(
718 this: &VrMockDisplay,
719 position: Option<&mut [f32]>,
720 linear_velocity: Option<&mut [f32]>,
721 linear_acceleration: Option<&::js_sys::Float32Array>,
722 orientation: Option<&::js_sys::Float32Array>,
723 angular_velocity: Option<&mut [f32]>,
724 angular_acceleration: Option<&::js_sys::Float32Array>,
725 );
726 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
727 #[doc = "The `setPose()` method."]
728 #[doc = ""]
729 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
730 #[doc = ""]
731 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
732 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(
733 this: &VrMockDisplay,
734 position: Option<&::js_sys::Float32Array>,
735 linear_velocity: Option<&mut [f32]>,
736 linear_acceleration: Option<&::js_sys::Float32Array>,
737 orientation: Option<&::js_sys::Float32Array>,
738 angular_velocity: Option<&mut [f32]>,
739 angular_acceleration: Option<&::js_sys::Float32Array>,
740 );
741 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
742 #[doc = "The `setPose()` method."]
743 #[doc = ""]
744 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
745 #[doc = ""]
746 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
747 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(
748 this: &VrMockDisplay,
749 position: Option<&mut [f32]>,
750 linear_velocity: Option<&::js_sys::Float32Array>,
751 linear_acceleration: Option<&::js_sys::Float32Array>,
752 orientation: Option<&::js_sys::Float32Array>,
753 angular_velocity: Option<&mut [f32]>,
754 angular_acceleration: Option<&::js_sys::Float32Array>,
755 );
756 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
757 #[doc = "The `setPose()` method."]
758 #[doc = ""]
759 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
760 #[doc = ""]
761 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
762 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(
763 this: &VrMockDisplay,
764 position: Option<&::js_sys::Float32Array>,
765 linear_velocity: Option<&::js_sys::Float32Array>,
766 linear_acceleration: Option<&::js_sys::Float32Array>,
767 orientation: Option<&::js_sys::Float32Array>,
768 angular_velocity: Option<&mut [f32]>,
769 angular_acceleration: Option<&::js_sys::Float32Array>,
770 );
771 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
772 #[doc = "The `setPose()` method."]
773 #[doc = ""]
774 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
775 #[doc = ""]
776 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
777 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(
778 this: &VrMockDisplay,
779 position: Option<&mut [f32]>,
780 linear_velocity: Option<&mut [f32]>,
781 linear_acceleration: Option<&mut [f32]>,
782 orientation: Option<&mut [f32]>,
783 angular_velocity: Option<&::js_sys::Float32Array>,
784 angular_acceleration: Option<&::js_sys::Float32Array>,
785 );
786 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
787 #[doc = "The `setPose()` method."]
788 #[doc = ""]
789 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
790 #[doc = ""]
791 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
792 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(
793 this: &VrMockDisplay,
794 position: Option<&::js_sys::Float32Array>,
795 linear_velocity: Option<&mut [f32]>,
796 linear_acceleration: Option<&mut [f32]>,
797 orientation: Option<&mut [f32]>,
798 angular_velocity: Option<&::js_sys::Float32Array>,
799 angular_acceleration: Option<&::js_sys::Float32Array>,
800 );
801 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
802 #[doc = "The `setPose()` method."]
803 #[doc = ""]
804 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
805 #[doc = ""]
806 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
807 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(
808 this: &VrMockDisplay,
809 position: Option<&mut [f32]>,
810 linear_velocity: Option<&::js_sys::Float32Array>,
811 linear_acceleration: Option<&mut [f32]>,
812 orientation: Option<&mut [f32]>,
813 angular_velocity: Option<&::js_sys::Float32Array>,
814 angular_acceleration: Option<&::js_sys::Float32Array>,
815 );
816 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
817 #[doc = "The `setPose()` method."]
818 #[doc = ""]
819 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
820 #[doc = ""]
821 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
822 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(
823 this: &VrMockDisplay,
824 position: Option<&::js_sys::Float32Array>,
825 linear_velocity: Option<&::js_sys::Float32Array>,
826 linear_acceleration: Option<&mut [f32]>,
827 orientation: Option<&mut [f32]>,
828 angular_velocity: Option<&::js_sys::Float32Array>,
829 angular_acceleration: Option<&::js_sys::Float32Array>,
830 );
831 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
832 #[doc = "The `setPose()` method."]
833 #[doc = ""]
834 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
835 #[doc = ""]
836 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
837 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(
838 this: &VrMockDisplay,
839 position: Option<&mut [f32]>,
840 linear_velocity: Option<&mut [f32]>,
841 linear_acceleration: Option<&::js_sys::Float32Array>,
842 orientation: Option<&mut [f32]>,
843 angular_velocity: Option<&::js_sys::Float32Array>,
844 angular_acceleration: Option<&::js_sys::Float32Array>,
845 );
846 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
847 #[doc = "The `setPose()` method."]
848 #[doc = ""]
849 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
850 #[doc = ""]
851 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
852 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(
853 this: &VrMockDisplay,
854 position: Option<&::js_sys::Float32Array>,
855 linear_velocity: Option<&mut [f32]>,
856 linear_acceleration: Option<&::js_sys::Float32Array>,
857 orientation: Option<&mut [f32]>,
858 angular_velocity: Option<&::js_sys::Float32Array>,
859 angular_acceleration: Option<&::js_sys::Float32Array>,
860 );
861 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
862 #[doc = "The `setPose()` method."]
863 #[doc = ""]
864 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
865 #[doc = ""]
866 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
867 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(
868 this: &VrMockDisplay,
869 position: Option<&mut [f32]>,
870 linear_velocity: Option<&::js_sys::Float32Array>,
871 linear_acceleration: Option<&::js_sys::Float32Array>,
872 orientation: Option<&mut [f32]>,
873 angular_velocity: Option<&::js_sys::Float32Array>,
874 angular_acceleration: Option<&::js_sys::Float32Array>,
875 );
876 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
877 #[doc = "The `setPose()` method."]
878 #[doc = ""]
879 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
880 #[doc = ""]
881 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
882 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(
883 this: &VrMockDisplay,
884 position: Option<&::js_sys::Float32Array>,
885 linear_velocity: Option<&::js_sys::Float32Array>,
886 linear_acceleration: Option<&::js_sys::Float32Array>,
887 orientation: Option<&mut [f32]>,
888 angular_velocity: Option<&::js_sys::Float32Array>,
889 angular_acceleration: Option<&::js_sys::Float32Array>,
890 );
891 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
892 #[doc = "The `setPose()` method."]
893 #[doc = ""]
894 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
895 #[doc = ""]
896 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
897 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(
898 this: &VrMockDisplay,
899 position: Option<&mut [f32]>,
900 linear_velocity: Option<&mut [f32]>,
901 linear_acceleration: Option<&mut [f32]>,
902 orientation: Option<&::js_sys::Float32Array>,
903 angular_velocity: Option<&::js_sys::Float32Array>,
904 angular_acceleration: Option<&::js_sys::Float32Array>,
905 );
906 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
907 #[doc = "The `setPose()` method."]
908 #[doc = ""]
909 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
910 #[doc = ""]
911 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
912 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(
913 this: &VrMockDisplay,
914 position: Option<&::js_sys::Float32Array>,
915 linear_velocity: Option<&mut [f32]>,
916 linear_acceleration: Option<&mut [f32]>,
917 orientation: Option<&::js_sys::Float32Array>,
918 angular_velocity: Option<&::js_sys::Float32Array>,
919 angular_acceleration: Option<&::js_sys::Float32Array>,
920 );
921 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
922 #[doc = "The `setPose()` method."]
923 #[doc = ""]
924 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
925 #[doc = ""]
926 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
927 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(
928 this: &VrMockDisplay,
929 position: Option<&mut [f32]>,
930 linear_velocity: Option<&::js_sys::Float32Array>,
931 linear_acceleration: Option<&mut [f32]>,
932 orientation: Option<&::js_sys::Float32Array>,
933 angular_velocity: Option<&::js_sys::Float32Array>,
934 angular_acceleration: Option<&::js_sys::Float32Array>,
935 );
936 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
937 #[doc = "The `setPose()` method."]
938 #[doc = ""]
939 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
940 #[doc = ""]
941 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
942 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(
943 this: &VrMockDisplay,
944 position: Option<&::js_sys::Float32Array>,
945 linear_velocity: Option<&::js_sys::Float32Array>,
946 linear_acceleration: Option<&mut [f32]>,
947 orientation: Option<&::js_sys::Float32Array>,
948 angular_velocity: Option<&::js_sys::Float32Array>,
949 angular_acceleration: Option<&::js_sys::Float32Array>,
950 );
951 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
952 #[doc = "The `setPose()` method."]
953 #[doc = ""]
954 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
955 #[doc = ""]
956 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
957 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(
958 this: &VrMockDisplay,
959 position: Option<&mut [f32]>,
960 linear_velocity: Option<&mut [f32]>,
961 linear_acceleration: Option<&::js_sys::Float32Array>,
962 orientation: Option<&::js_sys::Float32Array>,
963 angular_velocity: Option<&::js_sys::Float32Array>,
964 angular_acceleration: Option<&::js_sys::Float32Array>,
965 );
966 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
967 #[doc = "The `setPose()` method."]
968 #[doc = ""]
969 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
970 #[doc = ""]
971 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
972 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(
973 this: &VrMockDisplay,
974 position: Option<&::js_sys::Float32Array>,
975 linear_velocity: Option<&mut [f32]>,
976 linear_acceleration: Option<&::js_sys::Float32Array>,
977 orientation: Option<&::js_sys::Float32Array>,
978 angular_velocity: Option<&::js_sys::Float32Array>,
979 angular_acceleration: Option<&::js_sys::Float32Array>,
980 );
981 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
982 #[doc = "The `setPose()` method."]
983 #[doc = ""]
984 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
985 #[doc = ""]
986 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
987 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(
988 this: &VrMockDisplay,
989 position: Option<&mut [f32]>,
990 linear_velocity: Option<&::js_sys::Float32Array>,
991 linear_acceleration: Option<&::js_sys::Float32Array>,
992 orientation: Option<&::js_sys::Float32Array>,
993 angular_velocity: Option<&::js_sys::Float32Array>,
994 angular_acceleration: Option<&::js_sys::Float32Array>,
995 );
996 #[wasm_bindgen(method, js_class = "VRMockDisplay", js_name = "setPose")]
997 #[doc = "The `setPose()` method."]
998 #[doc = ""]
999 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/setPose)"]
1000 #[doc = ""]
1001 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
1002 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(
1003 this: &VrMockDisplay,
1004 position: Option<&::js_sys::Float32Array>,
1005 linear_velocity: Option<&::js_sys::Float32Array>,
1006 linear_acceleration: Option<&::js_sys::Float32Array>,
1007 orientation: Option<&::js_sys::Float32Array>,
1008 angular_velocity: Option<&::js_sys::Float32Array>,
1009 angular_acceleration: Option<&::js_sys::Float32Array>,
1010 );
1011 #[wasm_bindgen(method, js_class = "VRMockDisplay")]
1012 #[doc = "The `update()` method."]
1013 #[doc = ""]
1014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/VRMockDisplay/update)"]
1015 #[doc = ""]
1016 #[doc = "*This API requires the following crate features to be activated: `VrMockDisplay`*"]
1017 pub fn update(this: &VrMockDisplay);
1018}