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