Commit 87d1c35
Adjust MRTK scene content and experience across AR/VR/different experience scales (#9428)
* initial push for incorporating floor height into mrtk
* added unit tests for floor height
* made sure that the changes we made to a profile were reset after the test was complete
* removed extraneous log messages
* updated teleport tests to account for floor height
* initial addition of a MixedRealitySceneContent component
* removing floor height variables out of the camera system
* cleaning remaining camera system changes
* initial push of an experience settings profile rework
* updated some tests, experience settings profile now visible in editor
* fixed several tests and profiles to accomodate new experience setting, more to come
* addressed comments, fixed some unit tests
* moved experience setting profile, added header
* updated summaries, moved the inspector helpbox to the bottom to represent a high level summary of the current experience settings
* fixed spatial awareness tests to only init mrtk once
* provided a way for MRTK to explcitly control the floor height
* added test case for floor height
* pointer test changes
* added null check for camera system, made experience settings profile required
* added obsolete attribute to old variable
* removed experience settings platform
* floor height now changes during XR events on device
* fixed tests, base camera settings now adjust the floor height
* change to fix buildign on hololens issues
* fixed issues with the camera being offset unexpectedly
* Reverted api change and reserialized profiles
* reserializing remaining files
* removing remaining align camera references
* removing last align to floor height variable
* fixed formatting error
* attempting to reconcile floor height based on experience returned by XR device
* removing attempts to adjust the camera height due to the available solutions being incompatible with HL2 scenarios
* added cases to allow scene content to scale appropriately in editor
* PR adjustments, pipeline fix
* Update Assets/MRTK/Examples/Demos/EyeTracking/General/Profiles/EyeTrackingDemoConfigurationProfile.asset
Co-authored-by: Kurtis <[email protected]>
* reserialized teleport profile
* cased xrsdk code by unity version
* fixed typo
* reserialized settings profile properly
* cased on unity version
* Demo Profile reserialization
* small test utility QoL
* debugging unit tests
* more debugging
* debug aaa
* debuuggging
* debuuggging
* more debugging
* fixing debugger complaints
* PR debugging final hopefully
* fixing debugger complaints
* all the deub messages
* debugging the awake()/start() lifecycle
* removed debug statements, fixed frame wait call preventing coroutine from running in batch mode, removed manual camera offsetting
* removed extraneous warning message
* Update Assets/MRTK/Tests/TestUtilities/TestUtilities.cs
Co-authored-by: MaxWang-MS <[email protected]>
* Update Assets/MRTK/Core/Providers/BaseCameraSettingsProvider.cs
Co-authored-by: MaxWang-MS <[email protected]>
* Update Assets/MRTK/Core/Utilities/MixedRealitySceneContent.cs
Co-authored-by: MaxWang-MS <[email protected]>
* updated function documentation, removed outdated link from other class summary
* added tools in the inspector to assist with migration due to profile changes
* Fixing the apply modified properties call and some cleanup
* modified description for clarity
* added check for null container object
* refactored floor height as user height
* refactored again to content offset
Co-authored-by: Kurtis <[email protected]>
Co-authored-by: MaxWang-MS <[email protected]>1 parent c46bfb8 commit 87d1c35
File tree
47 files changed
+489
-64
lines changed- Assets/MRTK
- Core
- Definitions
- Inspectors
- Profiles
- Utilities
- Providers
- Services
- Utilities
- Examples
- Demos
- EyeTracking/General/Profiles
- HandTracking/Profiles
- Input/Scenes
- Dictation
- DisablePointers
- InputActions
- Speech
- PulseShader/Profile
- UX/Interactables/Profiles
- Experimental
- ExamplesHub/Profiles
- NonNativeKeyboard/Profiles
- SceneUnderstanding/Profiles
- Extensions/HandPhysicsService/Profiles
- Providers
- LeapMotion/Profiles
- OpenXR/Profiles
- XRSDK/Profiles
- SDK/Profiles
- HoloLens1
- HoloLens2
- Services/CameraSystem
- Tests
- PlayModeTests
- TestProfiles
- TestInputRecordingProfile
- TestUtilities
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+489
-64
lines changedLines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
30 | 45 | | |
31 | 46 | | |
32 | 47 | | |
33 | 48 | | |
34 | 49 | | |
35 | 50 | | |
| 51 | + | |
| 52 | + | |
36 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
37 | 58 | | |
38 | 59 | | |
39 | 60 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | | - | |
| 78 | + | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
Lines changed: 62 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
91 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
92 | 101 | | |
93 | 102 | | |
94 | 103 | | |
| |||
131 | 140 | | |
132 | 141 | | |
133 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
134 | 193 | | |
135 | 194 | | |
136 | 195 | | |
| |||
180 | 239 | | |
181 | 240 | | |
182 | 241 | | |
183 | | - | |
| 242 | + | |
184 | 243 | | |
185 | 244 | | |
186 | 245 | | |
| |||
299 | 358 | | |
300 | 359 | | |
301 | 360 | | |
302 | | - | |
303 | 361 | | |
304 | 362 | | |
305 | 363 | | |
| |||
395 | 453 | | |
396 | 454 | | |
397 | 455 | | |
398 | | - | |
399 | 456 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | 457 | | |
415 | 458 | | |
416 | 459 | | |
| |||
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
107 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
108 | 120 | | |
109 | 121 | | |
110 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
476 | | - | |
| 476 | + | |
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| |||
0 commit comments