| ofs | hex dump | ascii |
|---|
| 0000 | 00 00 0f 81 00 00 5a a0 00 00 00 15 00 00 10 00 00 00 00 00 32 30 31 39 2e 33 2e 36 66 31 00 fe | ......Z.............2019.3.6f1.. |
| 0020 | ff ff ff 01 02 00 00 00 0b 04 00 00 00 ff ff 66 9a 86 21 eb 14 35 98 39 dd 34 1d 51 0e c1 f3 42 | ...............f..!..5.9.4.Q...B |
| 0040 | 00 00 00 ed 00 00 00 02 00 00 00 00 00 00 00 37 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 | ...............7................ |
| 0060 | 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 | ................................ |
| 0080 | 00 00 00 00 00 00 00 01 00 01 00 0d 00 00 00 45 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 | ...............E................ |
| 00a0 | 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 | ...............#................ |
| 00c0 | 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 | ...............,................ |
| 00e0 | 00 00 00 00 00 00 00 01 00 01 00 35 00 00 00 61 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 | ...........5...a................ |
| 0100 | 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 | ...............#................ |
| 0120 | 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 | ...............,................ |
| 0140 | 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 | ...............r................ |
| 0160 | 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 | ...............#................ |
| 0180 | 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 | ...............,................ |
| 01a0 | 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 | ...........H.................... |
| 01c0 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 | ...........1...1............@... |
| 01e0 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 | ................................ |
| 0200 | 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 | ...........Q...j................ |
| 0220 | 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 4a 00 00 00 ff ff ff ff 0f 00 00 00 00 c0 00 00 00 | ...............J................ |
| 0240 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 10 00 00 00 00 80 00 00 00 | ...........1...1................ |
| 0260 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 11 00 00 00 00 00 00 00 00 | ................................ |
| 0280 | 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 12 00 00 00 00 80 00 00 00 | ...............j................ |
| 02a0 | 00 00 00 00 00 00 00 01 00 04 00 5c 00 00 00 9b 00 00 80 ff ff ff ff 13 00 00 00 00 80 00 00 00 | ...........\.................... |
| 02c0 | 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 72 00 00 00 ff ff ff ff 14 00 00 00 00 80 00 00 00 | ...........H...r................ |
| 02e0 | 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 15 00 00 00 01 40 00 00 00 | ...........1...1............@... |
| 0300 | 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 16 00 00 00 01 00 00 00 00 | ................................ |
| 0320 | 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 17 00 00 00 01 00 00 00 00 | ...........Q...j................ |
| 0340 | 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 77 00 00 00 ff ff ff ff 18 00 00 00 00 80 00 00 00 | ...........H...w................ |
| 0360 | 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 19 00 00 00 01 40 00 00 00 | ...........1...1............@... |
| 0380 | 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1a 00 00 00 01 00 00 00 00 | ................................ |
| 03a0 | 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1b 00 00 00 01 00 00 00 00 | ...........Q...j................ |
| 03c0 | 00 00 00 00 00 00 00 01 00 05 00 48 03 00 80 80 00 00 00 ff ff ff ff 1c 00 00 00 00 80 00 00 00 | ...........H.................... |
| 03e0 | 00 00 00 00 00 00 00 01 00 06 01 31 00 00 80 31 00 00 80 ff ff ff ff 1d 00 00 00 01 40 00 00 00 | ...........1...1............@... |
| 0400 | 00 00 00 00 00 00 00 01 00 07 00 de 00 00 80 1b 03 00 80 04 00 00 00 1e 00 00 00 01 00 00 00 00 | ................................ |
| 0420 | 00 00 00 00 00 00 00 01 00 07 00 51 00 00 80 6a 00 00 80 01 00 00 00 1f 00 00 00 01 00 00 00 00 | ...........Q...j................ |
| 0440 | 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 20 00 00 00 00 00 00 00 00 | ...........y.................... |
| 0460 | 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 21 00 00 00 01 00 80 00 00 | ...............#.......!........ |
| 0480 | 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 22 00 00 00 01 00 80 00 00 | ...............,......."........ |
| 04a0 | 00 00 00 00 00 00 00 01 00 01 00 11 03 00 80 85 00 00 00 ff ff ff ff 23 00 00 00 01 40 08 00 00 | .......................#....@... |
| 04c0 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 24 00 00 00 01 00 08 00 00 | ...........1...1.......$........ |
| 04e0 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 25 00 00 00 01 00 08 00 00 | .......................%........ |
| 0500 | 00 00 00 00 00 00 00 01 00 03 00 2e 03 00 80 6a 00 00 80 08 00 00 00 26 00 00 00 01 00 08 00 00 | ...............j.......&........ |
| 0520 | 00 00 00 00 00 00 00 01 00 01 00 d5 03 00 80 93 00 00 00 ff ff ff ff 27 00 00 00 00 80 00 00 00 | .......................'........ |
| 0540 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 28 00 00 00 00 c0 00 00 00 | ...........1...1.......(........ |
| 0560 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 29 00 00 00 00 00 00 00 00 | .......................)........ |
| 0580 | 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a 00 00 80 ff ff ff ff 2a 00 00 00 00 80 00 00 00 | ...............j.......*........ |
| 05a0 | 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b 00 00 80 ff ff ff ff 2b 00 00 00 00 80 00 00 00 | ...........H...........+........ |
| 05c0 | 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 00 00 80 ff ff ff ff 2c 00 00 00 01 40 00 00 00 | ...........1...1.......,....@... |
| 05e0 | 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b 03 00 80 04 00 00 00 2d 00 00 00 01 00 00 00 00 | .......................-........ |
| 0600 | 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a 00 00 80 01 00 00 00 2e 00 00 00 01 00 00 00 00 | ...........Q...j................ |
| 0620 | 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a 03 00 80 0c 00 00 00 2f 00 00 00 00 00 00 00 00 | ...........y.........../........ |
| 0640 | 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 23 00 00 00 04 00 00 00 30 00 00 00 01 00 80 00 00 | ...............#.......0........ |
| 0660 | 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 2c 00 00 00 08 00 00 00 31 00 00 00 01 00 80 00 00 | ...............,.......1........ |
| 0680 | 00 00 00 00 00 00 00 01 00 01 00 20 03 00 80 a7 00 00 00 02 00 00 00 32 00 00 00 00 40 00 00 00 | .......................2....@... |
| 06a0 | 00 00 00 00 00 00 00 01 00 01 00 be 02 00 80 b6 00 00 00 0c 00 00 00 33 00 00 00 00 40 00 00 00 | .......................3....@... |
| 06c0 | 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 23 00 00 00 04 00 00 00 34 00 00 00 01 00 80 00 00 | ...............#.......4........ |
| 06e0 | 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 2c 00 00 00 08 00 00 00 35 00 00 00 01 00 80 00 00 | ...............,.......5........ |
| 0700 | 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 bb 00 00 00 ff ff ff ff 36 00 00 00 01 80 00 00 00 | ...........H...........6........ |
| 0720 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 37 00 00 00 01 40 00 00 00 | ...........1...1.......7....@... |
| 0740 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 38 00 00 00 01 00 00 00 00 | .......................8........ |
| 0760 | 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 39 00 00 00 01 00 00 00 00 | ...........Q...j.......9........ |
| 0780 | 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 c6 00 00 00 ff ff ff ff 3a 00 00 00 01 80 00 00 00 | ...........H...........:........ |
| 07a0 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3b 00 00 00 01 40 00 00 00 | ...........1...1.......;....@... |
| 07c0 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 3c 00 00 00 01 00 00 00 00 | .......................<........ |
| 07e0 | 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 3d 00 00 00 01 00 00 00 00 | ...........Q...j.......=........ |
| 0800 | 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 d8 00 00 00 ff ff ff ff 3e 00 00 00 01 80 00 00 00 | ...........H...........>........ |
| 0820 | 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 00 00 80 ff ff ff ff 3f 00 00 00 01 40 00 00 00 | ...........1...1.......?....@... |
| 0840 | 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b 03 00 80 04 00 00 00 40 00 00 00 01 00 00 00 00 | .......................@........ |
| 0860 | 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a 00 00 80 01 00 00 00 41 00 00 00 01 00 00 00 00 | ...........Q...j.......A........ |
| 0880 | 00 00 00 00 00 00 00 4d 6f 6e 6f 49 6d 70 6f 72 74 65 72 00 50 50 74 72 3c 45 64 69 74 6f 72 45 | .......MonoImporter.PPtr<EditorE |
| 08a0 | 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 50 74 72 | xtension>.m_FileID.m_PathID.PPtr |
| 08c0 | 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 45 78 74 65 72 6e 61 6c 4f 62 6a 65 63 | <PrefabInstance>.m_ExternalObjec |
| 08e0 | 74 73 00 53 6f 75 72 63 65 41 73 73 65 74 49 64 65 6e 74 69 66 69 65 72 00 74 79 70 65 00 61 73 | ts.SourceAssetIdentifier.type.as |
| 0900 | 73 65 6d 62 6c 79 00 6e 61 6d 65 00 6d 5f 55 73 65 64 46 69 6c 65 49 44 73 00 6d 5f 44 65 66 61 | sembly.name.m_UsedFileIDs.m_Defa |
| 0920 | 75 6c 74 52 65 66 65 72 65 6e 63 65 73 00 65 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 69 63 6f | ultReferences.executionOrder.ico |
| 0940 | 6e 00 6d 5f 55 73 65 72 44 61 74 61 00 6d 5f 41 73 73 65 74 42 75 6e 64 6c 65 4e 61 6d 65 00 6d | n.m_UserData.m_AssetBundleName.m |
| 0960 | 5f 41 73 73 65 74 42 75 6e 64 6c 65 56 61 72 69 61 6e 74 00 00 00 00 00 73 00 00 00 00 ff ff a3 | _AssetBundleVariant.....s....... |
| 0980 | 47 f1 d7 dc 8f 5a 35 36 a0 3a 21 40 69 c1 4a 2a 00 00 00 81 00 00 00 05 00 00 00 15 01 00 80 37 | G....Z56.:!@i.J*...............7 |
| 09a0 | 00 00 80 ff ff ff ff 00 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 01 00 01 00 a6 03 00 80 b2 | ................................ |
| 09c0 | 01 00 80 04 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 00 00 45 | ...............................E |
| 09e0 | 04 00 80 0c 00 00 00 02 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 | ................................ |
| 0a00 | 00 00 00 04 00 00 00 03 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f | ................................ |
| 0a20 | 00 00 00 08 00 00 00 04 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 28 00 00 00 61 | ...........................(...a |
| 0a40 | 04 00 80 0c 00 00 00 05 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 | ................................ |
| 0a60 | 00 00 00 04 00 00 00 06 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f | ................................ |
| 0a80 | 00 00 00 08 00 00 00 07 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 86 02 00 80 72 | ...............................r |
| 0aa0 | 04 00 80 0c 00 00 00 08 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 | ................................ |
| 0ac0 | 00 00 00 04 00 00 00 09 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f | ................................ |
| 0ae0 | 00 00 00 08 00 00 00 0a 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ab | ...........................H.... |
| 0b00 | 01 00 80 ff ff ff ff 0b 00 00 00 01 80 08 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | ...........................1...1 |
| 0b20 | 00 00 80 ff ff ff ff 0c 00 00 00 01 40 08 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | ............@................... |
| 0b40 | 03 00 80 04 00 00 00 0d 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a | ...........................Q...j |
| 0b60 | 00 00 80 01 00 00 00 0e 00 00 00 01 00 08 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 ea | ...........................H.... |
| 0b80 | 01 00 80 ff ff ff ff 0f 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | ...........................1...1 |
| 0ba0 | 00 00 80 ff ff ff ff 10 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | ............@................... |
| 0bc0 | 03 00 80 04 00 00 00 11 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a | ...........................Q...j |
| 0be0 | 00 00 80 01 00 00 00 12 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 f1 00 00 80 3d | ...............................= |
| 0c00 | 00 00 00 ff ff ff ff 13 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | ...........................1...1 |
| 0c20 | 00 00 80 ff ff ff ff 14 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | ................................ |
| 0c40 | 03 00 80 04 00 00 00 15 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 1f 02 00 80 6a | ...............................j |
| 0c60 | 00 00 80 ff ff ff ff 16 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 04 00 48 03 00 80 9b | ...........................H.... |
| 0c80 | 00 00 80 ff ff ff ff 17 00 00 00 01 80 00 00 00 00 00 00 00 00 00 00 01 00 05 01 31 00 00 80 31 | ...........................1...1 |
| 0ca0 | 00 00 80 ff ff ff ff 18 00 00 00 01 40 00 00 00 00 00 00 00 00 00 00 01 00 06 00 de 00 00 80 1b | ............@................... |
| 0cc0 | 03 00 80 04 00 00 00 19 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 06 00 51 00 00 80 6a | ...........................Q...j |
| 0ce0 | 00 00 80 01 00 00 00 1a 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 04 00 79 02 00 80 0a | ...........................y.... |
| 0d00 | 03 00 80 0c 00 00 00 1b 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 01 00 05 00 de 00 00 80 16 | ................................ |
| 0d20 | 00 00 00 04 00 00 00 1c 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 05 00 2e 03 00 80 1f | ................................ |
| 0d40 | 00 00 00 08 00 00 00 1d 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 79 02 00 80 51 | ...........................y...Q |
| 0d60 | 00 00 00 0c 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 02 00 de 00 00 80 16 | ................................ |
| 0d80 | 00 00 00 04 00 00 00 1f 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 02 00 2e 03 00 80 1f | ................................ |
| 0da0 | 00 00 00 08 00 00 00 20 00 00 00 01 00 80 00 00 00 00 00 00 00 00 00 01 00 01 00 de 00 00 80 58 | ...............................X |
| 0dc0 | 00 00 00 04 00 00 00 21 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 69 | .......!...................H...i |
| 0de0 | 00 00 00 ff ff ff ff 22 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | ......."...................1...1 |
| 0e00 | 00 00 80 ff ff ff ff 23 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | .......#....@................... |
| 0e20 | 03 00 80 04 00 00 00 24 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a | .......$...................Q...j |
| 0e40 | 00 00 80 01 00 00 00 25 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 48 03 00 80 75 | .......%...................H...u |
| 0e60 | 00 00 00 ff ff ff ff 26 00 00 00 10 80 00 00 00 00 00 00 00 00 00 00 01 00 02 01 31 00 00 80 31 | .......&...................1...1 |
| 0e80 | 00 00 80 ff ff ff ff 27 00 00 00 11 40 00 00 00 00 00 00 00 00 00 00 01 00 03 00 de 00 00 80 1b | .......'....@................... |
| 0ea0 | 03 00 80 04 00 00 00 28 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 01 00 03 00 51 00 00 80 6a | .......(...................Q...j |
| 0ec0 | 00 00 80 01 00 00 00 29 00 00 00 11 00 00 00 00 00 00 00 00 00 00 00 50 50 74 72 3c 45 64 69 74 | .......)...............PPtr<Edit |
| 0ee0 | 6f 72 45 78 74 65 6e 73 69 6f 6e 3e 00 6d 5f 46 69 6c 65 49 44 00 6d 5f 50 61 74 68 49 44 00 50 | orExtension>.m_FileID.m_PathID.P |
| 0f00 | 50 74 72 3c 50 72 65 66 61 62 49 6e 73 74 61 6e 63 65 3e 00 6d 5f 44 65 66 61 75 6c 74 52 65 66 | Ptr<PrefabInstance>.m_DefaultRef |
| 0f20 | 65 72 65 6e 63 65 73 00 6d 5f 49 63 6f 6e 00 6d 5f 45 78 65 63 75 74 69 6f 6e 4f 72 64 65 72 00 | erences.m_Icon.m_ExecutionOrder. |
| 0f40 | 6d 5f 43 6c 61 73 73 4e 61 6d 65 00 6d 5f 4e 61 6d 65 73 70 61 63 65 00 00 00 00 00 02 00 00 00 | m_ClassName.m_Namespace......... |
| 0f60 | 03 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 00 00 00 00 e0 79 af 00 00 00 00 00 60 00 00 00 | ............\........y......`... |
| 0f80 | 40 4a 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | @J.............................. |
| 0fa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0fc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 0fe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1000 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e0 79 af 00 00 00 00 00 00 00 00 00 | .....................y.......... |
| 1040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
| 1080 | 00 00 00 00 00 00 00 00 09 00 00 00 58 52 53 75 70 70 6f 72 74 00 00 00 bd 49 00 00 23 69 66 20 | ............XRSupport....I..#if. |
| 10a0 | 55 4e 49 54 59 5f 49 4e 50 55 54 5f 53 59 53 54 45 4d 5f 45 4e 41 42 4c 45 5f 58 52 20 7c 7c 20 | UNITY_INPUT_SYSTEM_ENABLE_XR.||. |
| 10c0 | 50 41 43 4b 41 47 45 5f 44 4f 43 53 5f 47 45 4e 45 52 41 54 49 4f 4e 0d 0a 75 73 69 6e 67 20 53 | PACKAGE_DOCS_GENERATION..using.S |
| 10e0 | 79 73 74 65 6d 3b 0d 0a 75 73 69 6e 67 20 53 79 73 74 65 6d 2e 43 6f 6c 6c 65 63 74 69 6f 6e 73 | ystem;..using.System.Collections |
| 1100 | 2e 47 65 6e 65 72 69 63 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 58 52 3b | .Generic;..using.UnityEngine.XR; |
| 1120 | 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e | ..using.UnityEngine.InputSystem. |
| 1140 | 4c 61 79 6f 75 74 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 | Layouts;..using.UnityEngine.Inpu |
| 1160 | 74 53 79 73 74 65 6d 2e 43 6f 6e 74 72 6f 6c 73 3b 0d 0a 75 73 69 6e 67 20 55 6e 69 74 79 45 6e | tSystem.Controls;..using.UnityEn |
| 1180 | 67 69 6e 65 2e 53 63 72 69 70 74 69 6e 67 3b 0d 0a 0d 0a 6e 61 6d 65 73 70 61 63 65 20 55 6e 69 | gine.Scripting;....namespace.Uni |
| 11a0 | 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 58 52 0d 0a 7b 0d 0a 20 20 20 20 | tyEngine.InputSystem.XR..{...... |
| 11c0 | 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 41 20 73 65 74 20 6f 66 20 | ///.<summary>......///.A.set.of. |
| 11e0 | 73 74 61 74 69 63 20 75 74 69 6c 69 74 69 65 73 20 66 6f 72 20 72 65 67 69 73 74 65 72 69 6e 67 | static.utilities.for.registering |
| 1200 | 20 58 52 20 49 6e 70 75 74 20 44 65 76 69 63 65 73 20 65 78 74 65 72 6e 61 6c 6c 79 2e 0d 0a 20 | .XR.Input.Devices.externally.... |
| 1220 | 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 73 74 | ...///.</summary>......public.st |
| 1240 | 61 74 69 63 20 63 6c 61 73 73 20 58 52 55 74 69 6c 69 74 69 65 73 0d 0a 20 20 20 20 7b 0d 0a 20 | atic.class.XRUtilities......{... |
| 1260 | 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f | .......///.<summary>..........// |
| 1280 | 2f 20 41 20 73 69 6d 70 6c 65 20 52 65 67 65 78 20 70 61 74 74 65 72 6e 20 74 68 61 74 20 61 6c | /.A.simple.Regex.pattern.that.al |
| 12a0 | 6c 6f 77 73 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 73 20 74 6f 20 6d 61 74 63 | lows.InputDeviceMatchers.to.matc |
| 12c0 | 68 20 74 6f 20 61 6e 79 20 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 20 58 52 49 6e 70 75 74 20 | h.to.any.version.of.the.XRInput. |
| 12e0 | 69 6e 74 65 72 66 61 63 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 | interface...........///.</summar |
| 1300 | 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 63 6f 6e 73 74 20 73 74 72 69 6e 67 20 | y>..........public.const.string. |
| 1320 | 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 20 3d 20 22 5e 28 58 52 | InterfaceMatchAnyVersion.=."^(XR |
| 1340 | 49 6e 70 75 74 29 22 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 | Input)";............///.<summary |
| 1360 | 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 69 6e 69 74 69 61 6c 2c 20 6e 6f 77 20 | >..........///.The.initial,.now. |
| 1380 | 64 65 70 72 65 63 61 74 65 64 20 69 6e 74 65 72 66 61 63 65 20 66 6f 72 20 58 52 49 6e 70 75 74 | deprecated.interface.for.XRInput |
| 13a0 | 2e 20 20 54 68 69 73 20 76 65 72 73 69 6f 6e 20 68 61 6e 64 6c 65 73 20 62 75 74 74 6f 6e 20 70 | ...This.version.handles.button.p |
| 13c0 | 61 63 6b 69 6e 67 20 66 6f 72 20 41 6e 64 72 6f 69 64 20 64 69 66 66 65 72 65 6e 74 6c 79 20 66 | acking.for.Android.differently.f |
| 13e0 | 72 6f 6d 20 63 75 72 72 65 6e 74 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d | rom.current...........///.</summ |
| 1400 | 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 63 6f 6e 73 74 20 73 74 72 69 6e | ary>..........public.const.strin |
| 1420 | 67 20 49 6e 74 65 72 66 61 63 65 56 31 20 3d 20 22 58 52 49 6e 70 75 74 22 3b 0d 0a 0d 0a 20 20 | g.InterfaceV1.=."XRInput";...... |
| 1440 | 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f | ......///.<summary>........../// |
| 1460 | 20 54 68 65 20 63 75 72 72 65 6e 74 20 69 6e 74 65 72 66 61 63 65 20 63 6f 64 65 20 73 65 6e 74 | .The.current.interface.code.sent |
| 1480 | 20 77 69 74 68 20 64 65 76 69 63 65 73 20 74 6f 20 69 64 65 6e 74 69 66 79 20 61 73 20 58 52 49 | .with.devices.to.identify.as.XRI |
| 14a0 | 6e 70 75 74 20 64 65 76 69 63 65 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d | nput.devices...........///.</sum |
| 14c0 | 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 63 6f 6e 73 74 20 73 74 72 69 | mary>..........public.const.stri |
| 14e0 | 6e 67 20 49 6e 74 65 72 66 61 63 65 43 75 72 72 65 6e 74 20 3d 20 22 58 52 49 6e 70 75 74 56 31 | ng.InterfaceCurrent.=."XRInputV1 |
| 1500 | 22 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f 20 53 79 6e 63 20 74 6f 20 55 6e 69 74 | ";......}........//.Sync.to.Unit |
| 1520 | 79 58 52 49 6e 70 75 74 46 65 61 74 75 72 65 54 79 70 65 20 69 6e 20 49 55 6e 69 74 79 58 52 49 | yXRInputFeatureType.in.IUnityXRI |
| 1540 | 6e 70 75 74 2e 68 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f | nput.h......///.<summary>....../ |
| 1560 | 2f 2f 20 54 68 65 20 74 79 70 65 20 6f 66 20 64 61 74 61 20 61 20 3c 73 65 65 20 63 72 65 66 3d | //.The.type.of.data.a.<see.cref= |
| 1580 | 22 58 52 46 65 61 74 75 72 65 44 65 73 63 72 69 70 74 6f 72 3e 22 2f 3e 20 65 78 70 6f 73 65 73 | "XRFeatureDescriptor>"/>.exposes |
| 15a0 | 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 70 75 62 6c 69 | .......///.</summary>......publi |
| 15c0 | 63 20 65 6e 75 6d 20 46 65 61 74 75 72 65 54 79 70 65 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 | c.enum.FeatureType......{....... |
| 15e0 | 20 20 20 43 75 73 74 6f 6d 20 3d 20 30 2c 0d 0a 20 20 20 20 20 20 20 20 42 69 6e 61 72 79 2c 0d | ...Custom.=.0,..........Binary,. |
| 1600 | 0a 20 20 20 20 20 20 20 20 44 69 73 63 72 65 74 65 53 74 61 74 65 73 2c 0d 0a 20 20 20 20 20 20 | .........DiscreteStates,........ |
| 1620 | 20 20 41 78 69 73 31 44 2c 0d 0a 20 20 20 20 20 20 20 20 41 78 69 73 32 44 2c 0d 0a 20 20 20 20 | ..Axis1D,..........Axis2D,...... |
| 1640 | 20 20 20 20 41 78 69 73 33 44 2c 0d 0a 20 20 20 20 20 20 20 20 52 6f 74 61 74 69 6f 6e 2c 0d 0a | ....Axis3D,..........Rotation,.. |
| 1660 | 20 20 20 20 20 20 20 20 48 61 6e 64 2c 0d 0a 20 20 20 20 20 20 20 20 42 6f 6e 65 2c 0d 0a 20 20 | ........Hand,..........Bone,.... |
| 1680 | 20 20 20 20 20 20 45 79 65 73 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 | ......Eyes......}........///.<su |
| 16a0 | 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 43 6f 6e 74 65 78 74 75 61 6c 20 73 74 72 69 6e | mmary>......///.Contextual.strin |
| 16c0 | 67 73 20 74 68 61 74 20 69 64 65 6e 74 69 66 79 20 74 68 65 20 63 6f 6e 74 65 78 74 75 61 6c 2c | gs.that.identify.the.contextual, |
| 16e0 | 20 63 72 6f 73 73 2d 70 6c 61 74 66 6f 72 6d 20 75 73 65 20 74 68 61 74 20 61 20 66 65 61 74 75 | .cross-platform.use.that.a.featu |
| 1700 | 72 65 20 72 65 70 72 65 73 65 6e 74 73 2e 20 20 3c 73 65 65 20 63 72 65 66 3d 22 55 6e 69 74 79 | re.represents...<see.cref="Unity |
| 1720 | 45 6e 67 69 6e 65 2e 58 52 2e 43 6f 6d 6d 6f 6e 55 73 61 67 65 73 22 2f 3e 20 66 6f 72 20 61 20 | Engine.XR.CommonUsages"/>.for.a. |
| 1740 | 6c 69 73 74 20 6f 66 20 75 6e 69 74 79 27 73 20 62 75 69 6c 74 2d 69 6e 20 73 68 61 72 65 64 20 | list.of.unity's.built-in.shared. |
| 1760 | 75 73 61 67 65 73 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 23 70 72 | usages.......///.</summary>..#pr |
| 1780 | 61 67 6d 61 20 77 61 72 6e 69 6e 67 20 64 69 73 61 62 6c 65 20 30 36 34 39 0d 0a 20 20 20 20 5b | agma.warning.disable.0649......[ |
| 17a0 | 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 75 63 74 | Serializable]......public.struct |
| 17c0 | 20 55 73 61 67 65 48 69 6e 74 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 | .UsageHint......{..........publi |
| 17e0 | 63 20 73 74 72 69 6e 67 20 63 6f 6e 74 65 6e 74 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 | c.string.content;......}........ |
| 1800 | 2f 2f 53 79 6e 63 20 74 6f 20 58 52 49 6e 70 75 74 46 65 61 74 75 72 65 44 65 66 69 6e 69 74 69 | //Sync.to.XRInputFeatureDefiniti |
| 1820 | 6f 6e 20 69 6e 20 58 52 49 6e 70 75 74 44 65 76 69 63 65 44 65 66 69 6e 69 74 69 6f 6e 2e 68 0d | on.in.XRInputDeviceDefinition.h. |
| 1840 | 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 44 65 73 63 | .....///.<summary>......///.Desc |
| 1860 | 72 69 62 65 73 20 61 6e 20 69 6e 64 69 76 69 64 75 61 6c 20 69 6e 70 75 74 20 6f 6e 20 61 20 64 | ribes.an.individual.input.on.a.d |
| 1880 | 65 76 69 63 65 2c 20 73 75 63 68 20 61 73 20 61 20 74 72 61 63 6b 70 61 64 2c 20 6f 72 20 62 75 | evice,.such.as.a.trackpad,.or.bu |
| 18a0 | 74 74 6f 6e 2c 20 6f 72 20 74 72 69 67 67 65 72 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d | tton,.or.trigger.......///.</sum |
| 18c0 | 6d 61 72 79 3e 0d 0a 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 20 70 | mary>......[Serializable]......p |
| 18e0 | 75 62 6c 69 63 20 73 74 72 75 63 74 20 58 52 46 65 61 74 75 72 65 44 65 73 63 72 69 70 74 6f 72 | ublic.struct.XRFeatureDescriptor |
| 1900 | 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a | ......{..........///.<summary>.. |
| 1920 | 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 66 65 61 74 | ........///.The.name.of.the.feat |
| 1940 | 75 72 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 | ure...........///.</summary>.... |
| 1960 | 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 6e 61 6d 65 3b 0d 0a 20 20 20 20 20 | ......public.string.name;....... |
| 1980 | 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 | ...///.<summary>..........///.Th |
| 19a0 | 65 20 75 73 65 73 20 74 68 61 74 20 74 68 69 73 20 66 65 61 74 75 72 65 20 73 68 6f 75 6c 64 20 | e.uses.that.this.feature.should. |
| 19c0 | 72 65 70 72 65 73 65 6e 74 2c 20 73 75 63 68 20 61 73 20 74 72 69 67 67 65 72 2c 20 6f 72 20 67 | represent,.such.as.trigger,.or.g |
| 19e0 | 72 69 70 2c 20 6f 72 20 74 6f 75 63 68 70 61 64 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c | rip,.or.touchpad...........///.< |
| 1a00 | 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 4c 69 73 74 3c 55 | /summary>..........public.List<U |
| 1a20 | 73 61 67 65 48 69 6e 74 3e 20 75 73 61 67 65 48 69 6e 74 73 3b 0d 0a 20 20 20 20 20 20 20 20 2f | sageHint>.usageHints;........../ |
| 1a40 | 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 74 79 | //.<summary>..........///.The.ty |
| 1a60 | 70 65 20 6f 66 20 64 61 74 61 20 74 68 69 73 20 66 65 61 74 75 72 65 20 65 78 70 6f 73 65 73 2e | pe.of.data.this.feature.exposes. |
| 1a80 | 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 | ..........///.</summary>........ |
| 1aa0 | 20 20 70 75 62 6c 69 63 20 46 65 61 74 75 72 65 54 79 70 65 20 66 65 61 74 75 72 65 54 79 70 65 | ..public.FeatureType.featureType |
| 1ac0 | 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 | ;..........///.<summary>........ |
| 1ae0 | 20 20 2f 2f 2f 20 54 68 65 20 6f 76 65 72 61 6c 6c 20 73 69 7a 65 20 6f 66 20 74 68 65 20 66 65 | ..///.The.overall.size.of.the.fe |
| 1b00 | 61 74 75 72 65 2e 20 20 54 68 69 73 20 69 73 20 6f 6e 6c 79 20 66 69 6c 6c 65 64 20 69 6e 20 77 | ature...This.is.only.filled.in.w |
| 1b20 | 68 65 6e 20 74 68 65 20 3c 73 65 65 20 63 72 65 66 3d 22 58 52 46 65 61 74 75 72 65 44 65 73 63 | hen.the.<see.cref="XRFeatureDesc |
| 1b40 | 72 69 70 74 6f 72 2e 66 65 61 74 75 72 65 54 79 70 65 22 2f 3e 20 69 73 20 3c 73 65 65 20 63 72 | riptor.featureType"/>.is.<see.cr |
| 1b60 | 65 66 3d 22 46 65 61 74 75 72 65 54 79 70 65 2e 43 75 73 74 6f 6d 22 2f 3e 2e 0d 0a 20 20 20 20 | ef="FeatureType.Custom"/>....... |
| 1b80 | 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c | ....///.</summary>..........publ |
| 1ba0 | 69 63 20 75 69 6e 74 20 63 75 73 74 6f 6d 53 69 7a 65 3b 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 | ic.uint.customSize;......}...... |
| 1bc0 | 20 20 2f 2f 53 79 6e 63 20 74 6f 20 58 52 49 6e 70 75 74 44 65 76 69 63 65 44 65 66 69 6e 69 74 | ..//Sync.to.XRInputDeviceDefinit |
| 1be0 | 69 6f 6e 20 69 6e 20 58 52 49 6e 70 75 74 44 65 76 69 63 65 44 65 66 69 6e 69 74 69 6f 6e 2e 68 | ion.in.XRInputDeviceDefinition.h |
| 1c00 | 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 44 65 73 | ......///.<summary>......///.Des |
| 1c20 | 63 72 69 62 65 73 20 61 6e 20 69 6e 70 75 74 20 64 65 76 69 63 65 3a 20 77 68 61 74 20 69 74 20 | cribes.an.input.device:.what.it. |
| 1c40 | 63 61 6e 20 64 6f 20 61 6e 64 20 68 6f 77 20 69 74 20 73 68 6f 75 6c 64 20 62 65 20 75 73 65 64 | can.do.and.how.it.should.be.used |
| 1c60 | 2e 20 20 54 68 65 73 65 20 61 72 65 20 72 65 70 6f 72 74 65 64 20 64 75 72 69 6e 67 20 64 65 76 | ...These.are.reported.during.dev |
| 1c80 | 69 63 65 20 63 6f 6e 6e 65 63 74 69 6f 6e 2c 20 61 6e 64 20 68 65 6c 70 20 69 64 65 6e 74 69 66 | ice.connection,.and.help.identif |
| 1ca0 | 79 20 64 65 76 69 63 65 73 20 61 6e 64 20 6d 61 70 20 69 6e 70 75 74 20 64 61 74 61 20 74 6f 20 | y.devices.and.map.input.data.to. |
| 1cc0 | 74 68 65 20 72 69 67 68 74 20 63 6f 6e 74 72 6f 6c 73 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 | the.right.controls.......///.</s |
| 1ce0 | 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 5b 53 65 72 69 61 6c 69 7a 61 62 6c 65 5d 0d 0a 20 20 20 | ummary>......[Serializable]..... |
| 1d00 | 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 58 52 44 65 76 69 63 65 44 65 73 63 72 69 70 74 6f 72 | .public.class.XRDeviceDescriptor |
| 1d20 | 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a | ......{..........///.<summary>.. |
| 1d40 | 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 64 65 76 69 | ........///.The.name.of.the.devi |
| 1d60 | 63 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 | ce...........///.</summary>..... |
| 1d80 | 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 64 65 76 69 63 65 4e 61 6d 65 3b 0d 0a | .....public.string.deviceName;.. |
| 1da0 | 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f | ........///.<summary>........../ |
| 1dc0 | 2f 2f 20 54 68 65 20 6d 61 6e 75 66 61 63 74 75 72 65 72 20 6f 66 20 74 68 65 20 64 65 76 69 63 | //.The.manufacturer.of.the.devic |
| 1de0 | 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 | e...........///.</summary>...... |
| 1e00 | 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 6d 61 6e 75 66 61 63 74 75 72 65 72 3b 0d | ....public.string.manufacturer;. |
| 1e20 | 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 | .........///.<summary>.......... |
| 1e40 | 2f 2f 2f 20 54 68 65 20 73 65 72 69 61 6c 20 6e 75 6d 62 65 72 20 6f 66 20 74 68 65 20 64 65 76 | ///.The.serial.number.of.the.dev |
| 1e60 | 69 63 65 2e 20 20 41 6e 20 65 6d 70 74 79 20 73 74 72 69 6e 67 20 69 66 20 6e 6f 20 73 65 72 69 | ice...An.empty.string.if.no.seri |
| 1e80 | 61 6c 20 6e 75 6d 62 65 72 20 69 73 20 61 76 61 69 6c 61 62 6c 65 2e 0d 0a 20 20 20 20 20 20 20 | al.number.is.available.......... |
| 1ea0 | 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 | .///.</summary>..........public. |
| 1ec0 | 73 74 72 69 6e 67 20 73 65 72 69 61 6c 4e 75 6d 62 65 72 3b 0d 0a 23 69 66 20 55 4e 49 54 59 5f | string.serialNumber;..#if.UNITY_ |
| 1ee0 | 32 30 31 39 5f 33 5f 4f 52 5f 4e 45 57 45 52 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 | 2019_3_OR_NEWER..........///.<su |
| 1f00 | 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 63 61 70 61 62 69 6c 69 | mmary>..........///.The.capabili |
| 1f20 | 74 69 65 73 20 6f 66 20 74 68 65 20 64 65 76 69 63 65 2c 20 75 73 65 64 20 74 6f 20 68 65 6c 70 | ties.of.the.device,.used.to.help |
| 1f40 | 20 66 69 6c 74 65 72 20 61 6e 64 20 69 64 65 6e 74 69 66 79 20 64 65 76 69 63 65 73 20 74 68 61 | .filter.and.identify.devices.tha |
| 1f60 | 74 20 73 65 72 76 65 72 20 61 20 63 65 72 74 61 69 6e 20 70 75 72 70 6f 73 65 20 28 65 2e 67 2e | t.server.a.certain.purpose.(e.g. |
| 1f80 | 20 63 6f 6e 74 72 6f 6c 6c 65 72 2c 20 6f 72 20 68 65 61 64 73 65 74 2c 20 6f 72 20 68 61 72 64 | .controller,.or.headset,.or.hard |
| 1fa0 | 77 61 72 65 20 74 72 61 63 6b 65 72 29 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 | ware.tracker)...........///.</su |
| 1fc0 | 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 49 6e 70 75 74 44 65 76 69 | mmary>..........public.InputDevi |
| 1fe0 | 63 65 43 68 61 72 61 63 74 65 72 69 73 74 69 63 73 20 63 68 61 72 61 63 74 65 72 69 73 74 69 63 | ceCharacteristics.characteristic |
| 2000 | 73 3b 0d 0a 23 65 6c 73 65 20 2f 2f 55 4e 49 54 59 5f 32 30 31 39 5f 33 5f 4f 52 5f 4e 45 57 45 | s;..#else.//UNITY_2019_3_OR_NEWE |
| 2020 | 52 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 | R..........///.<summary>........ |
| 2040 | 20 20 2f 2f 2f 20 54 68 65 20 72 6f 6c 65 20 6f 66 20 74 68 65 20 64 65 76 69 63 65 2c 20 75 73 | ..///.The.role.of.the.device,.us |
| 2060 | 65 64 20 74 6f 20 68 65 6c 70 20 66 69 6c 74 65 72 20 61 6e 64 20 69 64 65 6e 74 69 66 79 20 64 | ed.to.help.filter.and.identify.d |
| 2080 | 65 76 69 63 65 73 20 74 68 61 74 20 73 65 72 76 65 72 20 61 20 63 65 72 74 61 69 6e 20 70 75 72 | evices.that.server.a.certain.pur |
| 20a0 | 70 6f 73 65 20 28 65 2e 67 2e 20 63 6f 6e 74 72 6f 6c 6c 65 72 2c 20 6f 72 20 68 65 61 64 73 65 | pose.(e.g..controller,.or.headse |
| 20c0 | 74 2c 20 6f 72 20 68 61 72 64 77 61 72 65 20 74 72 61 63 6b 65 72 29 2e 0d 0a 20 20 20 20 20 20 | t,.or.hardware.tracker)......... |
| 20e0 | 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 | ..///.</summary>..........public |
| 2100 | 20 49 6e 70 75 74 44 65 76 69 63 65 52 6f 6c 65 20 64 65 76 69 63 65 52 6f 6c 65 3b 0d 0a 23 65 | .InputDeviceRole.deviceRole;..#e |
| 2120 | 6e 64 69 66 20 2f 2f 55 4e 49 54 59 5f 32 30 31 39 5f 33 5f 4f 52 5f 4e 45 57 45 52 0d 0a 20 20 | ndif.//UNITY_2019_3_OR_NEWER.... |
| 2140 | 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f | ......///.<summary>........../// |
| 2160 | 20 54 68 65 20 75 6e 64 65 72 6c 79 69 6e 67 20 64 65 76 69 63 65 49 64 2c 20 74 68 69 73 20 63 | .The.underlying.deviceId,.this.c |
| 2180 | 61 6e 20 62 65 20 75 73 65 64 20 77 69 74 68 20 3c 73 65 65 20 63 72 65 66 3d 22 55 6e 69 74 79 | an.be.used.with.<see.cref="Unity |
| 21a0 | 45 6e 67 69 6e 65 2e 58 52 2e 49 6e 70 75 74 44 65 76 69 63 65 73 22 2f 3e 20 74 6f 20 63 72 65 | Engine.XR.InputDevices"/>.to.cre |
| 21c0 | 61 74 65 20 61 20 64 65 76 69 63 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d | ate.a.device...........///.</sum |
| 21e0 | 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 69 6e 74 20 64 65 76 69 63 65 | mary>..........public.int.device |
| 2200 | 49 64 3b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 | Id;..........///.<summary>...... |
| 2220 | 20 20 20 20 2f 2f 2f 20 41 20 6c 69 73 74 20 6f 66 20 61 6c 6c 20 69 6e 70 75 74 20 66 65 61 74 | ....///.A.list.of.all.input.feat |
| 2240 | 75 72 65 73 2e 20 20 3c 73 65 65 61 6c 73 6f 20 63 72 65 66 3d 22 58 52 46 65 61 74 75 72 65 44 | ures...<seealso.cref="XRFeatureD |
| 2260 | 65 73 63 72 69 70 74 6f 72 22 2f 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d | escriptor"/>..........///.</summ |
| 2280 | 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 4c 69 73 74 3c 58 52 46 65 61 74 | ary>..........public.List<XRFeat |
| 22a0 | 75 72 65 44 65 73 63 72 69 70 74 6f 72 3e 20 69 6e 70 75 74 46 65 61 74 75 72 65 73 3b 0d 0a 0d | ureDescriptor>.inputFeatures;... |
| 22c0 | 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 | .........///.<summary>.......... |
| 22e0 | 2f 2f 2f 20 43 6f 6e 76 65 72 74 73 20 74 68 69 73 20 73 74 72 75 63 74 75 72 65 20 74 6f 20 61 | ///.Converts.this.structure.to.a |
| 2300 | 20 4a 53 4f 4e 20 73 74 72 69 6e 67 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d | .JSON.string...........///.</sum |
| 2320 | 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 72 65 74 75 72 6e 73 3e 3c 2f 72 65 | mary>..........///.<returns></re |
| 2340 | 74 75 72 6e 73 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 69 6e 67 20 54 6f | turns>..........public.string.To |
| 2360 | 4a 73 6f 6e 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 | Json()..........{..............r |
| 2380 | 65 74 75 72 6e 20 4a 73 6f 6e 55 74 69 6c 69 74 79 2e 54 6f 4a 73 6f 6e 28 74 68 69 73 29 3b 0d | eturn.JsonUtility.ToJson(this);. |
| 23a0 | 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 | .........}............///.<summa |
| 23c0 | 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 43 6f 6e 76 65 72 74 73 20 61 20 6a 73 6f 6e | ry>..........///.Converts.a.json |
| 23e0 | 20 73 74 72 69 6e 67 20 74 6f 20 61 20 6e 65 77 20 3c 73 65 65 20 63 72 65 66 3d 22 58 52 44 65 | .string.to.a.new.<see.cref="XRDe |
| 2400 | 76 69 63 65 44 65 73 63 72 69 70 74 6f 72 22 2f 3e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 | viceDescriptor"/>...........///. |
| 2420 | 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 70 61 72 61 6d 20 6e | </summary>..........///.<param.n |
| 2440 | 61 6d 65 3d 22 6a 73 6f 6e 22 3e 54 68 65 20 4a 53 4f 4e 20 73 74 72 69 6e 67 20 63 6f 6e 74 61 | ame="json">The.JSON.string.conta |
| 2460 | 69 6e 69 6e 67 20 3c 73 65 65 20 63 72 65 66 3d 22 58 52 44 65 76 69 63 65 44 65 73 63 72 69 70 | ining.<see.cref="XRDeviceDescrip |
| 2480 | 74 6f 72 22 2f 3e 20 64 61 74 61 2e 3c 2f 70 61 72 61 6d 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f | tor"/>.data.</param>..........// |
| 24a0 | 2f 20 3c 72 65 74 75 72 6e 73 3e 41 20 6e 65 77 20 3c 73 65 65 20 63 72 65 66 3d 22 58 52 44 65 | /.<returns>A.new.<see.cref="XRDe |
| 24c0 | 76 69 63 65 44 65 73 63 72 69 70 74 6f 72 22 2f 3e 3c 2f 72 65 74 75 72 6e 73 3e 0d 0a 20 20 20 | viceDescriptor"/></returns>..... |
| 24e0 | 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 69 63 20 58 52 44 65 76 69 63 65 44 65 73 63 72 | .....public.static.XRDeviceDescr |
| 2500 | 69 70 74 6f 72 20 46 72 6f 6d 4a 73 6f 6e 28 73 74 72 69 6e 67 20 6a 73 6f 6e 29 0d 0a 20 20 20 | iptor.FromJson(string.json)..... |
| 2520 | 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 4a 73 6f 6e 55 | .....{..............return.JsonU |
| 2540 | 74 69 6c 69 74 79 2e 46 72 6f 6d 4a 73 6f 6e 3c 58 52 44 65 76 69 63 65 44 65 73 63 72 69 70 74 | tility.FromJson<XRDeviceDescript |
| 2560 | 6f 72 3e 28 6a 73 6f 6e 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 0d 0a | or>(json);..........}......}.... |
| 2580 | 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 52 65 70 72 65 | ....///.<summary>......///.Repre |
| 25a0 | 73 65 6e 74 73 20 61 20 33 20 64 69 6d 65 6e 73 69 6f 6e 61 6c 2c 20 74 72 61 63 6b 65 64 20 62 | sents.a.3.dimensional,.tracked.b |
| 25c0 | 6f 6e 65 20 77 69 74 68 69 6e 20 61 20 68 69 65 72 61 72 63 68 79 20 6f 66 20 6f 74 68 65 72 20 | one.within.a.hierarchy.of.other. |
| 25e0 | 62 6f 6e 65 73 2e 0d 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 | bones.......///.</summary>...... |
| 2600 | 70 75 62 6c 69 63 20 73 74 72 75 63 74 20 42 6f 6e 65 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 | public.struct.Bone......{....... |
| 2620 | 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 | ...///.<summary>..........///.Th |
| 2640 | 65 20 69 6e 64 65 78 20 77 69 74 68 20 74 68 65 20 64 65 76 69 63 65 27 73 20 63 6f 6e 74 72 6f | e.index.with.the.device's.contro |
| 2660 | 6c 73 20 61 72 72 61 79 20 77 68 65 72 65 20 74 68 65 20 70 61 72 65 6e 74 20 62 6f 6e 65 20 72 | ls.array.where.the.parent.bone.r |
| 2680 | 65 73 69 64 65 73 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d | esides...........///.</summary>. |
| 26a0 | 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 75 69 6e 74 20 70 61 72 65 6e 74 42 6f 6e 65 49 | .........public.uint.parentBoneI |
| 26c0 | 6e 64 65 78 20 7b 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 | ndex.{.get;.set;.}..........///. |
| 26e0 | 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 74 72 61 63 6b | <summary>..........///.The.track |
| 2700 | 65 64 20 70 6f 73 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 62 6f 6e 65 2e 0d 0a 20 20 20 20 20 20 | ed.position.of.the.bone......... |
| 2720 | 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 | ..///.</summary>..........public |
| 2740 | 20 56 65 63 74 6f 72 33 20 70 6f 73 69 74 69 6f 6e 20 7b 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d | .Vector3.position.{.get;.set;.}. |
| 2760 | 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 | .........///.<summary>.......... |
| 2780 | 2f 2f 2f 20 54 68 65 20 74 72 61 63 6b 65 64 20 72 6f 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 | ///.The.tracked.rotation.of.the. |
| 27a0 | 62 6f 6e 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 | bone...........///.</summary>... |
| 27c0 | 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 51 75 61 74 65 72 6e 69 6f 6e 20 72 6f 74 61 74 69 6f | .......public.Quaternion.rotatio |
| 27e0 | 6e 20 7b 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 2f 2f | n.{.get;.set;.}......}........// |
| 2800 | 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 2f 2f 2f 20 52 65 70 72 65 73 65 6e 74 73 20 | /.<summary>......///.Represents. |
| 2820 | 61 20 70 61 69 72 20 6f 66 20 74 72 61 63 6b 65 64 20 65 79 65 73 2e 0d 0a 20 20 20 20 2f 2f 2f | a.pair.of.tracked.eyes......./// |
| 2840 | 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 73 74 72 75 63 74 20 45 | .</summary>......public.struct.E |
| 2860 | 79 65 73 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 | yes......{..........///.<summary |
| 2880 | 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 74 72 61 63 6b 65 64 20 70 6f 73 69 74 | >..........///.The.tracked.posit |
| 28a0 | 69 6f 6e 20 6f 66 20 74 68 65 20 6c 65 66 74 20 65 79 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f | ion.of.the.left.eye...........// |
| 28c0 | 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 | /.</summary>..........public.Vec |
| 28e0 | 74 6f 72 33 20 6c 65 66 74 45 79 65 50 6f 73 69 74 69 6f 6e 20 7b 20 67 65 74 3b 20 73 65 74 3b | tor3.leftEyePosition.{.get;.set; |
| 2900 | 20 7d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 | .}..........///.<summary>....... |
| 2920 | 20 20 20 2f 2f 2f 20 54 68 65 20 74 72 61 63 6b 65 64 20 72 6f 74 61 74 69 6f 6e 20 6f 66 20 74 | ...///.The.tracked.rotation.of.t |
| 2940 | 68 65 20 6c 65 66 74 20 65 79 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d | he.left.eye...........///.</summ |
| 2960 | 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 51 75 61 74 65 72 6e 69 6f 6e 20 | ary>..........public.Quaternion. |
| 2980 | 6c 65 66 74 45 79 65 52 6f 74 61 74 69 6f 6e 20 7b 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d 0a 20 | leftEyeRotation.{.get;.set;.}... |
| 29a0 | 20 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f | .......///.<summary>..........// |
| 29c0 | 2f 20 54 68 65 20 74 72 61 63 6b 65 64 20 70 6f 73 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 72 69 | /.The.tracked.position.of.the.ri |
| 29e0 | 67 68 74 20 65 79 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e | ght.eye...........///.</summary> |
| 2a00 | 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 20 72 69 67 68 74 45 79 | ..........public.Vector3.rightEy |
| 2a20 | 65 50 6f 73 69 74 69 6f 6e 20 7b 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 | ePosition.{.get;.set;.}......... |
| 2a40 | 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 | .///.<summary>..........///.The. |
| 2a60 | 74 72 61 63 6b 65 64 20 72 6f 74 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 72 69 67 68 74 20 65 79 | tracked.rotation.of.the.right.ey |
| 2a80 | 65 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 | e...........///.</summary>...... |
| 2aa0 | 20 20 20 20 70 75 62 6c 69 63 20 51 75 61 74 65 72 6e 69 6f 6e 20 72 69 67 68 74 45 79 65 52 6f | ....public.Quaternion.rightEyeRo |
| 2ac0 | 74 61 74 69 6f 6e 20 7b 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 2f 2f | tation.{.get;.set;.}..........// |
| 2ae0 | 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 70 6f 69 | /.<summary>..........///.The.poi |
| 2b00 | 6e 74 20 69 6e 20 33 44 20 73 70 61 63 65 20 74 68 61 74 20 74 68 65 20 70 61 69 72 20 6f 66 20 | nt.in.3D.space.that.the.pair.of. |
| 2b20 | 65 79 65 73 20 69 73 20 6c 6f 6f 6b 69 6e 67 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f | eyes.is.looking...........///.</ |
| 2b40 | 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 74 6f 72 33 | summary>..........public.Vector3 |
| 2b60 | 20 66 69 78 61 74 69 6f 6e 50 6f 69 6e 74 20 7b 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d 0a 20 20 | .fixationPoint.{.get;.set;.}.... |
| 2b80 | 20 20 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f | ......///.<summary>........../// |
| 2ba0 | 20 54 68 65 20 61 6d 6f 75 6e 74 20 5b 30 2d 31 5d 20 74 68 65 20 6c 65 66 74 20 65 79 65 20 69 | .The.amount.[0-1].the.left.eye.i |
| 2bc0 | 73 20 6f 70 65 6e 20 6f 72 20 63 6c 6f 73 65 64 2e 20 20 31 2e 30 20 69 73 20 66 75 6c 6c 79 20 | s.open.or.closed...1.0.is.fully. |
| 2be0 | 6f 70 65 6e 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 | open...........///.</summary>... |
| 2c00 | 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 66 6c 6f 61 74 20 6c 65 66 74 45 79 65 4f 70 65 6e 41 | .......public.float.leftEyeOpenA |
| 2c20 | 6d 6f 75 6e 74 20 7b 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f | mount.{.get;.set;.}........../// |
| 2c40 | 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 54 68 65 20 61 6d 6f 75 | .<summary>..........///.The.amou |
| 2c60 | 6e 74 20 5b 30 2d 31 5d 20 74 68 65 20 72 69 67 68 74 20 65 79 65 20 69 73 20 6f 70 65 6e 20 6f | nt.[0-1].the.right.eye.is.open.o |
| 2c80 | 72 20 63 6c 6f 73 65 64 2e 20 20 31 2e 30 20 69 73 20 66 75 6c 6c 79 20 6f 70 65 6e 2e 0d 0a 20 | r.closed...1.0.is.fully.open.... |
| 2ca0 | 20 20 20 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 | .......///.</summary>..........p |
| 2cc0 | 75 62 6c 69 63 20 66 6c 6f 61 74 20 72 69 67 68 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 20 7b | ublic.float.rightEyeOpenAmount.{ |
| 2ce0 | 20 67 65 74 3b 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 5b 50 72 65 73 | .get;.set;.}......}........[Pres |
| 2d00 | 65 72 76 65 5d 0d 0a 20 20 20 20 70 75 62 6c 69 63 20 63 6c 61 73 73 20 42 6f 6e 65 43 6f 6e 74 | erve]......public.class.BoneCont |
| 2d20 | 72 6f 6c 20 3a 20 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 3c 42 6f 6e 65 3e 0d 0a 20 20 20 20 7b 0d | rol.:.InputControl<Bone>......{. |
| 2d40 | 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e | .........[Preserve]..........[In |
| 2d60 | 70 75 74 43 6f 6e 74 72 6f 6c 28 6f 66 66 73 65 74 20 3d 20 30 2c 20 64 69 73 70 6c 61 79 4e 61 | putControl(offset.=.0,.displayNa |
| 2d80 | 6d 65 20 3d 20 22 70 61 72 65 6e 74 42 6f 6e 65 49 6e 64 65 78 22 29 5d 0d 0a 20 20 20 20 20 20 | me.=."parentBoneIndex")]........ |
| 2da0 | 20 20 70 75 62 6c 69 63 20 49 6e 74 65 67 65 72 43 6f 6e 74 72 6f 6c 20 70 61 72 65 6e 74 42 6f | ..public.IntegerControl.parentBo |
| 2dc0 | 6e 65 49 6e 64 65 78 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 | neIndex.{.get;.private.set;.}... |
| 2de0 | 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 | .......[Preserve]..........[Inpu |
| 2e00 | 74 43 6f 6e 74 72 6f 6c 28 6f 66 66 73 65 74 20 3d 20 34 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 | tControl(offset.=.4,.displayName |
| 2e20 | 20 3d 20 22 50 6f 73 69 74 69 6f 6e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 | .=."Position")]..........public. |
| 2e40 | 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 70 6f 73 69 74 69 6f 6e 20 7b 20 67 65 74 3b 20 70 | Vector3Control.position.{.get;.p |
| 2e60 | 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 65 72 76 65 | rivate.set;.}..........[Preserve |
| 2e80 | 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6f 66 66 73 65 74 20 | ]..........[InputControl(offset. |
| 2ea0 | 3d 20 31 36 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 52 6f 74 61 74 69 6f 6e 22 29 5d | =.16,.displayName.=."Rotation")] |
| 2ec0 | 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 51 75 61 74 65 72 6e 69 6f 6e 43 6f 6e 74 72 | ..........public.QuaternionContr |
| 2ee0 | 6f 6c 20 72 6f 74 61 74 69 6f 6e 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 | ol.rotation.{.get;.private.set;. |
| 2f00 | 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 72 6f 74 65 63 74 65 64 20 6f 76 65 72 72 69 64 65 20 | }............protected.override. |
| 2f20 | 76 6f 69 64 20 46 69 6e 69 73 68 53 65 74 75 70 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 | void.FinishSetup()..........{... |
| 2f40 | 20 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 42 6f 6e 65 49 6e 64 65 78 20 3d 20 47 65 74 | ...........parentBoneIndex.=.Get |
| 2f60 | 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 49 6e 74 65 67 65 72 43 6f 6e 74 72 6f 6c 3e 28 22 70 61 | ChildControl<IntegerControl>("pa |
| 2f80 | 72 65 6e 74 42 6f 6e 65 49 6e 64 65 78 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f | rentBoneIndex");..............po |
| 2fa0 | 73 69 74 69 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 | sition.=.GetChildControl<Vector3 |
| 2fc0 | 43 6f 6e 74 72 6f 6c 3e 28 22 70 6f 73 69 74 69 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 | Control>("position");........... |
| 2fe0 | 20 20 20 72 6f 74 61 74 69 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 51 75 | ...rotation.=.GetChildControl<Qu |
| 3000 | 61 74 65 72 6e 69 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 72 6f 74 61 74 69 6f 6e 22 29 3b 0d 0a 0d | aternionControl>("rotation");... |
| 3020 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 46 69 6e 69 73 68 53 65 74 75 70 28 29 3b | .............base.FinishSetup(); |
| 3040 | 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 | ..........}............public.ov |
| 3060 | 65 72 72 69 64 65 20 75 6e 73 61 66 65 20 42 6f 6e 65 20 52 65 61 64 55 6e 70 72 6f 63 65 73 73 | erride.unsafe.Bone.ReadUnprocess |
| 3080 | 65 64 56 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 76 6f 69 64 2a 20 73 74 61 74 65 50 74 72 29 | edValueFromState(void*.statePtr) |
| 30a0 | 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 | ..........{..............return. |
| 30c0 | 6e 65 77 20 42 6f 6e 65 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 | new.Bone()..............{....... |
| 30e0 | 20 20 20 20 20 20 20 20 20 20 20 70 61 72 65 6e 74 42 6f 6e 65 49 6e 64 65 78 20 3d 20 28 75 69 | ...........parentBoneIndex.=.(ui |
| 3100 | 6e 74 29 70 61 72 65 6e 74 42 6f 6e 65 49 6e 64 65 78 2e 52 65 61 64 55 6e 70 72 6f 63 65 73 73 | nt)parentBoneIndex.ReadUnprocess |
| 3120 | 65 64 56 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 73 74 61 74 65 50 74 72 29 2c 0d 0a 20 20 20 | edValueFromState(statePtr),..... |
| 3140 | 20 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f 6e 20 3d 20 70 6f 73 69 74 69 6f 6e | .............position.=.position |
| 3160 | 2e 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 73 | .ReadUnprocessedValueFromState(s |
| 3180 | 74 61 74 65 50 74 72 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 6f 74 61 74 | tatePtr),..................rotat |
| 31a0 | 69 6f 6e 20 3d 20 72 6f 74 61 74 69 6f 6e 2e 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 61 | ion.=.rotation.ReadUnprocessedVa |
| 31c0 | 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 73 74 61 74 65 50 74 72 29 0d 0a 20 20 20 20 20 20 20 20 | lueFromState(statePtr).......... |
| 31e0 | 20 20 20 20 7d 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 | ....};..........}............pub |
| 3200 | 6c 69 63 20 6f 76 65 72 72 69 64 65 20 75 6e 73 61 66 65 20 76 6f 69 64 20 57 72 69 74 65 56 61 | lic.override.unsafe.void.WriteVa |
| 3220 | 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 42 6f 6e 65 20 76 61 6c 75 65 2c 20 76 6f 69 64 2a 20 73 | lueIntoState(Bone.value,.void*.s |
| 3240 | 74 61 74 65 50 74 72 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | tatePtr)..........{............. |
| 3260 | 20 70 61 72 65 6e 74 42 6f 6e 65 49 6e 64 65 78 2e 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f 53 | .parentBoneIndex.WriteValueIntoS |
| 3280 | 74 61 74 65 28 28 69 6e 74 29 76 61 6c 75 65 2e 70 61 72 65 6e 74 42 6f 6e 65 49 6e 64 65 78 2c | tate((int)value.parentBoneIndex, |
| 32a0 | 20 73 74 61 74 65 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 70 6f 73 69 74 69 6f | .statePtr);..............positio |
| 32c0 | 6e 2e 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 76 61 6c 75 65 2e 70 6f 73 69 | n.WriteValueIntoState(value.posi |
| 32e0 | 74 69 6f 6e 2c 20 73 74 61 74 65 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 6f | tion,.statePtr);..............ro |
| 3300 | 74 61 74 69 6f 6e 2e 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 76 61 6c 75 65 | tation.WriteValueIntoState(value |
| 3320 | 2e 72 6f 74 61 74 69 6f 6e 2c 20 73 74 61 74 65 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d | .rotation,.statePtr);..........} |
| 3340 | 0d 0a 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 70 | ......}........[Preserve]......p |
| 3360 | 75 62 6c 69 63 20 63 6c 61 73 73 20 45 79 65 73 43 6f 6e 74 72 6f 6c 20 3a 20 49 6e 70 75 74 43 | ublic.class.EyesControl.:.InputC |
| 3380 | 6f 6e 74 72 6f 6c 3c 45 79 65 73 3e 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 | ontrol<Eyes>......{..........[Pr |
| 33a0 | 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6f | eserve]..........[InputControl(o |
| 33c0 | 66 66 73 65 74 20 3d 20 30 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4c 65 66 74 45 79 | ffset.=.0,.displayName.=."LeftEy |
| 33e0 | 65 50 6f 73 69 74 69 6f 6e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 65 63 | ePosition")]..........public.Vec |
| 3400 | 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 6c 65 66 74 45 79 65 50 6f 73 69 74 69 6f 6e 20 7b 20 67 65 | tor3Control.leftEyePosition.{.ge |
| 3420 | 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 65 73 | t;.private.set;.}..........[Pres |
| 3440 | 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6f 66 66 | erve]..........[InputControl(off |
| 3460 | 73 65 74 20 3d 20 31 32 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4c 65 66 74 45 79 65 | set.=.12,.displayName.=."LeftEye |
| 3480 | 52 6f 74 61 74 69 6f 6e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 51 75 61 74 | Rotation")]..........public.Quat |
| 34a0 | 65 72 6e 69 6f 6e 43 6f 6e 74 72 6f 6c 20 6c 65 66 74 45 79 65 52 6f 74 61 74 69 6f 6e 20 7b 20 | ernionControl.leftEyeRotation.{. |
| 34c0 | 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 | get;.private.set;.}..........[Pr |
| 34e0 | 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6f | eserve]..........[InputControl(o |
| 3500 | 66 66 73 65 74 20 3d 20 32 38 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 52 69 67 68 74 | ffset.=.28,.displayName.=."Right |
| 3520 | 45 79 65 50 6f 73 69 74 69 6f 6e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 56 | EyePosition")]..........public.V |
| 3540 | 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 72 69 67 68 74 45 79 65 50 6f 73 69 74 69 6f 6e 20 7b | ector3Control.rightEyePosition.{ |
| 3560 | 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 50 | .get;.private.set;.}..........[P |
| 3580 | 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 | reserve]..........[InputControl( |
| 35a0 | 6f 66 66 73 65 74 20 3d 20 34 30 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 52 69 67 68 | offset.=.40,.displayName.=."Righ |
| 35c0 | 74 45 79 65 52 6f 74 61 74 69 6f 6e 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 | tEyeRotation")]..........public. |
| 35e0 | 51 75 61 74 65 72 6e 69 6f 6e 43 6f 6e 74 72 6f 6c 20 72 69 67 68 74 45 79 65 52 6f 74 61 74 69 | QuaternionControl.rightEyeRotati |
| 3600 | 6f 6e 20 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 | on.{.get;.private.set;.}........ |
| 3620 | 20 20 5b 50 72 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 | ..[Preserve]..........[InputCont |
| 3640 | 72 6f 6c 28 6f 66 66 73 65 74 20 3d 20 35 36 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 | rol(offset.=.56,.displayName.=." |
| 3660 | 46 69 78 61 74 69 6f 6e 50 6f 69 6e 74 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 | FixationPoint")]..........public |
| 3680 | 20 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 20 66 69 78 61 74 69 6f 6e 50 6f 69 6e 74 20 7b 20 | .Vector3Control.fixationPoint.{. |
| 36a0 | 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 | get;.private.set;.}..........[Pr |
| 36c0 | 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6f | eserve]..........[InputControl(o |
| 36e0 | 66 66 73 65 74 20 3d 20 36 38 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 4c 65 66 74 45 | ffset.=.68,.displayName.=."LeftE |
| 3700 | 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 | yeOpenAmount")]..........public. |
| 3720 | 41 78 69 73 43 6f 6e 74 72 6f 6c 20 6c 65 66 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 20 7b 20 | AxisControl.leftEyeOpenAmount.{. |
| 3740 | 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 20 20 20 20 20 20 20 20 5b 50 72 | get;.private.set;.}..........[Pr |
| 3760 | 65 73 65 72 76 65 5d 0d 0a 20 20 20 20 20 20 20 20 5b 49 6e 70 75 74 43 6f 6e 74 72 6f 6c 28 6f | eserve]..........[InputControl(o |
| 3780 | 66 66 73 65 74 20 3d 20 37 32 2c 20 64 69 73 70 6c 61 79 4e 61 6d 65 20 3d 20 22 52 69 67 68 74 | ffset.=.72,.displayName.=."Right |
| 37a0 | 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 22 29 5d 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 | EyeOpenAmount")]..........public |
| 37c0 | 20 41 78 69 73 43 6f 6e 74 72 6f 6c 20 72 69 67 68 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 20 | .AxisControl.rightEyeOpenAmount. |
| 37e0 | 7b 20 67 65 74 3b 20 70 72 69 76 61 74 65 20 73 65 74 3b 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 | {.get;.private.set;.}........... |
| 3800 | 20 70 72 6f 74 65 63 74 65 64 20 6f 76 65 72 72 69 64 65 20 76 6f 69 64 20 46 69 6e 69 73 68 53 | .protected.override.void.FinishS |
| 3820 | 65 74 75 70 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c | etup()..........{..............l |
| 3840 | 65 66 74 45 79 65 50 6f 73 69 74 69 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c | eftEyePosition.=.GetChildControl |
| 3860 | 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 6c 65 66 74 45 79 65 50 6f 73 69 74 69 6f | <Vector3Control>("leftEyePositio |
| 3880 | 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 45 79 65 52 6f 74 61 74 69 6f | n");..............leftEyeRotatio |
| 38a0 | 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 51 75 61 74 65 72 6e 69 6f 6e 43 6f | n.=.GetChildControl<QuaternionCo |
| 38c0 | 6e 74 72 6f 6c 3e 28 22 6c 65 66 74 45 79 65 52 6f 74 61 74 69 6f 6e 22 29 3b 0d 0a 20 20 20 20 | ntrol>("leftEyeRotation");...... |
| 38e0 | 20 20 20 20 20 20 20 20 72 69 67 68 74 45 79 65 50 6f 73 69 74 69 6f 6e 20 3d 20 47 65 74 43 68 | ........rightEyePosition.=.GetCh |
| 3900 | 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 72 6f 6c 3e 28 22 72 69 67 68 | ildControl<Vector3Control>("righ |
| 3920 | 74 45 79 65 50 6f 73 69 74 69 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 | tEyePosition");..............rig |
| 3940 | 68 74 45 79 65 52 6f 74 61 74 69 6f 6e 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c | htEyeRotation.=.GetChildControl< |
| 3960 | 51 75 61 74 65 72 6e 69 6f 6e 43 6f 6e 74 72 6f 6c 3e 28 22 72 69 67 68 74 45 79 65 52 6f 74 61 | QuaternionControl>("rightEyeRota |
| 3980 | 74 69 6f 6e 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 66 69 78 61 74 69 6f 6e 50 6f 69 | tion");..............fixationPoi |
| 39a0 | 6e 74 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 56 65 63 74 6f 72 33 43 6f 6e 74 | nt.=.GetChildControl<Vector3Cont |
| 39c0 | 72 6f 6c 3e 28 22 66 69 78 61 74 69 6f 6e 50 6f 69 6e 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 | rol>("fixationPoint");.......... |
| 39e0 | 20 20 20 20 6c 65 66 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 20 3d 20 47 65 74 43 68 69 6c 64 | ....leftEyeOpenAmount.=.GetChild |
| 3a00 | 43 6f 6e 74 72 6f 6c 3c 41 78 69 73 43 6f 6e 74 72 6f 6c 3e 28 22 6c 65 66 74 45 79 65 4f 70 65 | Control<AxisControl>("leftEyeOpe |
| 3a20 | 6e 41 6d 6f 75 6e 74 22 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 45 79 65 | nAmount");..............rightEye |
| 3a40 | 4f 70 65 6e 41 6d 6f 75 6e 74 20 3d 20 47 65 74 43 68 69 6c 64 43 6f 6e 74 72 6f 6c 3c 41 78 69 | OpenAmount.=.GetChildControl<Axi |
| 3a60 | 73 43 6f 6e 74 72 6f 6c 3e 28 22 72 69 67 68 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 22 29 3b | sControl>("rightEyeOpenAmount"); |
| 3a80 | 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 62 61 73 65 2e 46 69 6e 69 73 68 53 65 74 75 70 | ................base.FinishSetup |
| 3aa0 | 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 | ();..........}............public |
| 3ac0 | 20 6f 76 65 72 72 69 64 65 20 75 6e 73 61 66 65 20 45 79 65 73 20 52 65 61 64 55 6e 70 72 6f 63 | .override.unsafe.Eyes.ReadUnproc |
| 3ae0 | 65 73 73 65 64 56 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 76 6f 69 64 2a 20 73 74 61 74 65 50 | essedValueFromState(void*.stateP |
| 3b00 | 74 72 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 65 74 75 | tr)..........{..............retu |
| 3b20 | 72 6e 20 6e 65 77 20 45 79 65 73 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7b 0d 0a 20 20 | rn.new.Eyes()..............{.... |
| 3b40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 45 79 65 50 6f 73 69 74 69 6f 6e 20 3d 20 | ..............leftEyePosition.=. |
| 3b60 | 6c 65 66 74 45 79 65 50 6f 73 69 74 69 6f 6e 2e 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 | leftEyePosition.ReadUnprocessedV |
| 3b80 | 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 73 74 61 74 65 50 74 72 29 2c 0d 0a 20 20 20 20 20 20 | alueFromState(statePtr),........ |
| 3ba0 | 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 45 79 65 52 6f 74 61 74 69 6f 6e 20 3d 20 6c 65 66 74 | ..........leftEyeRotation.=.left |
| 3bc0 | 45 79 65 52 6f 74 61 74 69 6f 6e 2e 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 61 6c 75 65 | EyeRotation.ReadUnprocessedValue |
| 3be0 | 46 72 6f 6d 53 74 61 74 65 28 73 74 61 74 65 50 74 72 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 | FromState(statePtr),............ |
| 3c00 | 20 20 20 20 20 20 72 69 67 68 74 45 79 65 50 6f 73 69 74 69 6f 6e 20 3d 20 72 69 67 68 74 45 79 | ......rightEyePosition.=.rightEy |
| 3c20 | 65 50 6f 73 69 74 69 6f 6e 2e 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 61 6c 75 65 46 72 | ePosition.ReadUnprocessedValueFr |
| 3c40 | 6f 6d 53 74 61 74 65 28 73 74 61 74 65 50 74 72 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | omState(statePtr),.............. |
| 3c60 | 20 20 20 20 72 69 67 68 74 45 79 65 52 6f 74 61 74 69 6f 6e 20 3d 20 72 69 67 68 74 45 79 65 52 | ....rightEyeRotation.=.rightEyeR |
| 3c80 | 6f 74 61 74 69 6f 6e 2e 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 61 6c 75 65 46 72 6f 6d | otation.ReadUnprocessedValueFrom |
| 3ca0 | 53 74 61 74 65 28 73 74 61 74 65 50 74 72 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | State(statePtr),................ |
| 3cc0 | 20 20 66 69 78 61 74 69 6f 6e 50 6f 69 6e 74 20 3d 20 66 69 78 61 74 69 6f 6e 50 6f 69 6e 74 2e | ..fixationPoint.=.fixationPoint. |
| 3ce0 | 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 73 74 | ReadUnprocessedValueFromState(st |
| 3d00 | 61 74 65 50 74 72 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 45 79 | atePtr),..................leftEy |
| 3d20 | 65 4f 70 65 6e 41 6d 6f 75 6e 74 20 3d 20 6c 65 66 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 2e | eOpenAmount.=.leftEyeOpenAmount. |
| 3d40 | 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 73 74 | ReadUnprocessedValueFromState(st |
| 3d60 | 61 74 65 50 74 72 29 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 45 | atePtr),..................rightE |
| 3d80 | 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 20 3d 20 72 69 67 68 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e | yeOpenAmount.=.rightEyeOpenAmoun |
| 3da0 | 74 2e 52 65 61 64 55 6e 70 72 6f 63 65 73 73 65 64 56 61 6c 75 65 46 72 6f 6d 53 74 61 74 65 28 | t.ReadUnprocessedValueFromState( |
| 3dc0 | 73 74 61 74 65 50 74 72 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 7d 3b 0d 0a 20 20 20 20 20 | statePtr)..............};....... |
| 3de0 | 20 20 20 7d 0d 0a 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 6f 76 65 72 72 69 64 65 20 | ...}............public.override. |
| 3e00 | 75 6e 73 61 66 65 20 76 6f 69 64 20 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 | unsafe.void.WriteValueIntoState( |
| 3e20 | 45 79 65 73 20 76 61 6c 75 65 2c 20 76 6f 69 64 2a 20 73 74 61 74 65 50 74 72 29 0d 0a 20 20 20 | Eyes.value,.void*.statePtr)..... |
| 3e40 | 20 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 45 79 65 50 6f 73 69 74 | .....{..............leftEyePosit |
| 3e60 | 69 6f 6e 2e 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 76 61 6c 75 65 2e 6c 65 | ion.WriteValueIntoState(value.le |
| 3e80 | 66 74 45 79 65 50 6f 73 69 74 69 6f 6e 2c 20 73 74 61 74 65 50 74 72 29 3b 0d 0a 20 20 20 20 20 | ftEyePosition,.statePtr);....... |
| 3ea0 | 20 20 20 20 20 20 20 6c 65 66 74 45 79 65 52 6f 74 61 74 69 6f 6e 2e 57 72 69 74 65 56 61 6c 75 | .......leftEyeRotation.WriteValu |
| 3ec0 | 65 49 6e 74 6f 53 74 61 74 65 28 76 61 6c 75 65 2e 6c 65 66 74 45 79 65 52 6f 74 61 74 69 6f 6e | eIntoState(value.leftEyeRotation |
| 3ee0 | 2c 20 73 74 61 74 65 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 45 | ,.statePtr);..............rightE |
| 3f00 | 79 65 50 6f 73 69 74 69 6f 6e 2e 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 76 | yePosition.WriteValueIntoState(v |
| 3f20 | 61 6c 75 65 2e 72 69 67 68 74 45 79 65 50 6f 73 69 74 69 6f 6e 2c 20 73 74 61 74 65 50 74 72 29 | alue.rightEyePosition,.statePtr) |
| 3f40 | 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 45 79 65 52 6f 74 61 74 69 6f 6e 2e | ;..............rightEyeRotation. |
| 3f60 | 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 76 61 6c 75 65 2e 72 69 67 68 74 45 | WriteValueIntoState(value.rightE |
| 3f80 | 79 65 52 6f 74 61 74 69 6f 6e 2c 20 73 74 61 74 65 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 | yeRotation,.statePtr);.......... |
| 3fa0 | 20 20 20 20 66 69 78 61 74 69 6f 6e 50 6f 69 6e 74 2e 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f | ....fixationPoint.WriteValueInto |
| 3fc0 | 53 74 61 74 65 28 76 61 6c 75 65 2e 66 69 78 61 74 69 6f 6e 50 6f 69 6e 74 2c 20 73 74 61 74 65 | State(value.fixationPoint,.state |
| 3fe0 | 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 6c 65 66 74 45 79 65 4f 70 65 6e 41 6d | Ptr);..............leftEyeOpenAm |
| 4000 | 6f 75 6e 74 2e 57 72 69 74 65 56 61 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 76 61 6c 75 65 2e 6c | ount.WriteValueIntoState(value.l |
| 4020 | 65 66 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 2c 20 73 74 61 74 65 50 74 72 29 3b 0d 0a 20 20 | eftEyeOpenAmount,.statePtr);.... |
| 4040 | 20 20 20 20 20 20 20 20 20 20 72 69 67 68 74 45 79 65 4f 70 65 6e 41 6d 6f 75 6e 74 2e 57 72 69 | ..........rightEyeOpenAmount.Wri |
| 4060 | 74 65 56 61 6c 75 65 49 6e 74 6f 53 74 61 74 65 28 76 61 6c 75 65 2e 72 69 67 68 74 45 79 65 4f | teValueIntoState(value.rightEyeO |
| 4080 | 70 65 6e 41 6d 6f 75 6e 74 2c 20 73 74 61 74 65 50 74 72 29 3b 0d 0a 20 20 20 20 20 20 20 20 7d | penAmount,.statePtr);..........} |
| 40a0 | 0d 0a 20 20 20 20 7d 0d 0a 23 70 72 61 67 6d 61 20 77 61 72 6e 69 6e 67 20 72 65 73 74 6f 72 65 | ......}..#pragma.warning.restore |
| 40c0 | 20 30 36 34 39 0d 0a 0d 0a 20 20 20 20 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 | .0649........///.<summary>...... |
| 40e0 | 2f 2f 2f 20 41 20 73 6d 61 6c 6c 20 68 65 6c 70 65 72 20 63 6c 61 73 73 20 74 6f 20 61 69 64 20 | ///.A.small.helper.class.to.aid. |
| 4100 | 69 6e 20 69 6e 69 74 69 61 6c 69 7a 69 6e 67 20 61 6e 64 20 72 65 67 69 73 74 65 72 69 6e 67 20 | in.initializing.and.registering. |
| 4120 | 58 52 20 64 65 76 69 63 65 73 20 61 6e 64 20 6c 61 79 6f 75 74 20 62 75 69 6c 64 65 72 73 2e 0d | XR.devices.and.layout.builders.. |
| 4140 | 0a 20 20 20 20 2f 2f 2f 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 23 69 66 20 55 4e 49 54 59 5f 44 | .....///.</summary>..#if.UNITY_D |
| 4160 | 49 53 41 42 4c 45 5f 44 45 46 41 55 4c 54 5f 49 4e 50 55 54 5f 50 4c 55 47 49 4e 5f 49 4e 49 54 | ISABLE_DEFAULT_INPUT_PLUGIN_INIT |
| 4180 | 49 41 4c 49 5a 41 54 49 4f 4e 0d 0a 20 20 20 20 70 75 62 6c 69 63 0d 0a 23 65 6c 73 65 0d 0a 20 | IALIZATION......public..#else... |
| 41a0 | 20 20 20 69 6e 74 65 72 6e 61 6c 0d 0a 23 65 6e 64 69 66 0d 0a 20 20 20 20 73 74 61 74 69 63 20 | ...internal..#endif......static. |
| 41c0 | 63 6c 61 73 73 20 58 52 53 75 70 70 6f 72 74 0d 0a 20 20 20 20 7b 0d 0a 20 20 20 20 20 20 20 20 | class.XRSupport......{.......... |
| 41e0 | 2f 2f 2f 20 3c 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f 20 52 65 67 69 73 | ///.<summary>..........///.Regis |
| 4200 | 74 65 72 73 20 61 6c 6c 20 69 6e 69 74 69 61 6c 20 74 65 6d 70 6c 61 74 65 73 20 61 6e 64 20 74 | ters.all.initial.templates.and.t |
| 4220 | 68 65 20 67 65 6e 65 72 61 6c 69 7a 65 64 20 6c 61 79 6f 75 74 20 62 75 69 6c 64 65 72 20 77 69 | he.generalized.layout.builder.wi |
| 4240 | 74 68 20 74 68 65 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 0d 0a 20 20 20 20 20 20 20 20 2f 2f 2f | th.the.InputSystem.........../// |
| 4260 | 20 3c 2f 73 75 6d 6d 61 72 79 3e 0d 0a 20 20 20 20 20 20 20 20 70 75 62 6c 69 63 20 73 74 61 74 | .</summary>..........public.stat |
| 4280 | 69 63 20 76 6f 69 64 20 49 6e 69 74 69 61 6c 69 7a 65 28 29 0d 0a 20 20 20 20 20 20 20 20 7b 0d | ic.void.Initialize()..........{. |
| 42a0 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 | .............InputSystem.Registe |
| 42c0 | 72 4c 61 79 6f 75 74 3c 42 6f 6e 65 43 6f 6e 74 72 6f 6c 3e 28 22 42 6f 6e 65 22 29 3b 0d 0a 20 | rLayout<BoneControl>("Bone");... |
| 42e0 | 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c | ...........InputSystem.RegisterL |
| 4300 | 61 79 6f 75 74 3c 45 79 65 73 43 6f 6e 74 72 6f 6c 3e 28 22 45 79 65 73 22 29 3b 0d 0a 0d 0a 20 | ayout<EyesControl>("Eyes");..... |
| 4320 | 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c | ...........InputSystem.RegisterL |
| 4340 | 61 79 6f 75 74 3c 58 52 48 4d 44 3e 28 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 | ayout<XRHMD>();..............Inp |
| 4360 | 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 58 52 43 6f 6e 74 72 6f | utSystem.RegisterLayout<XRContro |
| 4380 | 6c 6c 65 72 3e 28 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 | ller>();................InputSys |
| 43a0 | 74 65 6d 2e 6f 6e 46 69 6e 64 4c 61 79 6f 75 74 46 6f 72 44 65 76 69 63 65 20 2b 3d 20 58 52 4c | tem.onFindLayoutForDevice.+=.XRL |
| 43c0 | 61 79 6f 75 74 42 75 69 6c 64 65 72 2e 4f 6e 46 69 6e 64 4c 61 79 6f 75 74 46 6f 72 44 65 76 69 | ayoutBuilder.OnFindLayoutForDevi |
| 43e0 | 63 65 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 23 69 66 20 21 44 49 53 41 42 4c 45 5f | ce;................#if.!DISABLE_ |
| 4400 | 42 55 49 4c 54 49 4e 5f 49 4e 50 55 54 5f 53 59 53 54 45 4d 5f 57 49 4e 44 4f 57 53 4d 52 0d 0a | BUILTIN_INPUT_SYSTEM_WINDOWSMR.. |
| 4420 | 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 | ............InputSystem.Register |
| 4440 | 4c 61 79 6f 75 74 3c 55 6e 69 74 79 45 6e 67 69 6e 65 2e 58 52 2e 57 69 6e 64 6f 77 73 4d 52 2e | Layout<UnityEngine.XR.WindowsMR. |
| 4460 | 49 6e 70 75 74 2e 57 4d 52 48 4d 44 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | Input.WMRHMD>(.................. |
| 4480 | 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 | matches:.new.InputDeviceMatcher( |
| 44a0 | 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 | ).......................WithInte |
| 44c0 | 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 | rface(XRUtilities.InterfaceMatch |
| 44e0 | 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | AnyVersion)..................... |
| 4500 | 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 22 28 57 69 6e 64 6f 77 73 20 4d 69 78 65 64 20 52 65 | ..WithProduct("(Windows.Mixed.Re |
| 4520 | 61 6c 69 74 79 20 48 4d 44 29 7c 28 4d 69 63 72 6f 73 6f 66 74 20 48 6f 6c 6f 4c 65 6e 73 29 7c | ality.HMD)|(Microsoft.HoloLens)| |
| 4540 | 28 5e 28 57 69 6e 64 6f 77 73 4d 52 20 48 65 61 64 73 65 74 29 29 22 29 0d 0a 20 20 20 20 20 20 | (^(WindowsMR.Headset))")........ |
| 4560 | 20 20 20 20 20 20 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 | ......);..............InputSyste |
| 4580 | 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 45 6e 67 69 6e 65 2e 58 52 2e | m.RegisterLayout<UnityEngine.XR. |
| 45a0 | 57 69 6e 64 6f 77 73 4d 52 2e 49 6e 70 75 74 2e 57 4d 52 53 70 61 74 69 61 6c 43 6f 6e 74 72 6f | WindowsMR.Input.WMRSpatialContro |
| 45c0 | 6c 6c 65 72 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 3a | ller>(..................matches: |
| 45e0 | 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 20 20 20 | .new.InputDeviceMatcher()....... |
| 4600 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 61 63 65 28 58 52 | ................WithInterface(XR |
| 4620 | 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 | Utilities.InterfaceMatchAnyVersi |
| 4640 | 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 | on).......................WithPr |
| 4660 | 6f 64 75 63 74 28 40 22 28 5e 28 53 70 61 74 69 61 6c 20 43 6f 6e 74 72 6f 6c 6c 65 72 29 29 7c | oduct(@"(^(Spatial.Controller))| |
| 4680 | 28 5e 28 4f 70 65 6e 56 52 20 43 6f 6e 74 72 6f 6c 6c 65 72 5c 28 57 69 6e 64 6f 77 73 4d 52 29 | (^(OpenVR.Controller\(WindowsMR) |
| 46a0 | 29 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | )")..............);............. |
| 46c0 | 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 | .InputSystem.RegisterLayout<Unit |
| 46e0 | 79 45 6e 67 69 6e 65 2e 58 52 2e 57 69 6e 64 6f 77 73 4d 52 2e 49 6e 70 75 74 2e 48 6f 6c 6f 6c | yEngine.XR.WindowsMR.Input.Holol |
| 4700 | 65 6e 73 48 61 6e 64 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 | ensHand>(..................match |
| 4720 | 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 | es:.new.InputDeviceMatcher().... |
| 4740 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 61 63 65 | ...................WithInterface |
| 4760 | 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 | (XRUtilities.InterfaceMatchAnyVe |
| 4780 | 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 | rsion).......................Wit |
| 47a0 | 68 50 72 6f 64 75 63 74 28 40 22 28 5e 28 48 61 6e 64 20 2d 29 29 22 29 0d 0a 20 20 20 20 20 20 | hProduct(@"(^(Hand.-))")........ |
| 47c0 | 20 20 20 20 20 20 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 23 65 6e 64 69 66 0d 0a 0d 0a | ......);..............#endif.... |
| 47e0 | 20 20 20 20 20 20 20 20 20 20 20 20 23 69 66 20 21 44 49 53 41 42 4c 45 5f 42 55 49 4c 54 49 4e | ............#if.!DISABLE_BUILTIN |
| 4800 | 5f 49 4e 50 55 54 5f 53 59 53 54 45 4d 5f 4f 43 55 4c 55 53 0d 0a 20 20 20 20 20 20 20 20 20 20 | _INPUT_SYSTEM_OCULUS............ |
| 4820 | 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 | ..InputSystem.RegisterLayout<Uni |
| 4840 | 74 79 2e 58 52 2e 4f 63 75 6c 75 73 2e 49 6e 70 75 74 2e 4f 63 75 6c 75 73 48 4d 44 3e 28 0d 0a | ty.XR.Oculus.Input.OculusHMD>(.. |
| 4860 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 | ................matches:.new.Inp |
| 4880 | 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 | utDeviceMatcher()............... |
| 48a0 | 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 | ........WithInterface(XRUtilitie |
| 48c0 | 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 | s.InterfaceMatchAnyVersion)..... |
| 48e0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 22 5e | ..................WithProduct("^ |
| 4900 | 28 4f 63 75 6c 75 73 20 52 69 66 74 29 7c 5e 28 4f 63 75 6c 75 73 20 51 75 65 73 74 29 7c 5e 28 | (Oculus.Rift)|^(Oculus.Quest)|^( |
| 4920 | 4f 63 75 6c 75 73 20 47 6f 29 22 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 | Oculus.Go)"));..............Inpu |
| 4940 | 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e | tSystem.RegisterLayout<Unity.XR. |
| 4960 | 4f 63 75 6c 75 73 2e 49 6e 70 75 74 2e 4f 63 75 6c 75 73 54 6f 75 63 68 43 6f 6e 74 72 6f 6c 6c | Oculus.Input.OculusTouchControll |
| 4980 | 65 72 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e | er>(..................matches:.n |
| 49a0 | 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 | ew.InputDeviceMatcher()......... |
| 49c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 | ..............WithInterface(XRUt |
| 49e0 | 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e | ilities.InterfaceMatchAnyVersion |
| 4a00 | 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 | ).......................WithProd |
| 4a20 | 75 63 74 28 40 22 28 5e 28 4f 63 75 6c 75 73 20 54 6f 75 63 68 20 43 6f 6e 74 72 6f 6c 6c 65 72 | uct(@"(^(Oculus.Touch.Controller |
| 4a40 | 29 29 7c 28 5e 28 4f 63 75 6c 75 73 20 51 75 65 73 74 20 43 6f 6e 74 72 6f 6c 6c 65 72 29 29 22 | ))|(^(Oculus.Quest.Controller))" |
| 4a60 | 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 | ));..............InputSystem.Reg |
| 4a80 | 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 63 75 6c 75 73 2e 49 6e 70 75 | isterLayout<Unity.XR.Oculus.Inpu |
| 4aa0 | 74 2e 4f 63 75 6c 75 73 52 65 6d 6f 74 65 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | t.OculusRemote>(................ |
| 4ac0 | 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 | ..matches:.new.InputDeviceMatche |
| 4ae0 | 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e | r().......................WithIn |
| 4b00 | 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 | terface(XRUtilities.InterfaceMat |
| 4b20 | 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | chAnyVersion)................... |
| 4b40 | 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 40 22 4f 63 75 6c 75 73 20 52 65 6d 6f 74 65 22 | ....WithProduct(@"Oculus.Remote" |
| 4b60 | 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 | ));..............InputSystem.Reg |
| 4b80 | 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 63 75 6c 75 73 2e 49 6e 70 75 | isterLayout<Unity.XR.Oculus.Inpu |
| 4ba0 | 74 2e 4f 63 75 6c 75 73 54 72 61 63 6b 69 6e 67 52 65 66 65 72 65 6e 63 65 3e 28 0d 0a 20 20 20 | t.OculusTrackingReference>(..... |
| 4bc0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 | .............matches:.new.InputD |
| 4be0 | 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | eviceMatcher().................. |
| 4c00 | 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 | .....WithInterface(XRUtilities.I |
| 4c20 | 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 | nterfaceMatchAnyVersion)........ |
| 4c40 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 40 22 28 28 54 | ...............WithProduct(@"((T |
| 4c60 | 72 61 63 6b 69 6e 67 20 52 65 66 65 72 65 6e 63 65 29 7c 28 5e 28 4f 63 75 6c 75 73 20 52 69 66 | racking.Reference)|(^(Oculus.Rif |
| 4c80 | 74 20 5b 61 2d 7a 41 2d 5a 30 2d 39 5d 2a 20 5c 28 43 61 6d 65 72 61 29 29 29 22 29 29 3b 0d 0a | t.[a-zA-Z0-9]*.\(Camera)))"));.. |
| 4ca0 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 | ..............InputSystem.Regist |
| 4cc0 | 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 63 75 6c 75 73 2e 49 6e 70 75 74 2e 4f | erLayout<Unity.XR.Oculus.Input.O |
| 4ce0 | 63 75 6c 75 73 48 4d 44 45 78 74 65 6e 64 65 64 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | culusHMDExtended>(.............. |
| 4d00 | 20 20 20 20 6e 61 6d 65 3a 20 22 47 65 61 72 56 52 22 2c 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | ....name:."GearVR",............. |
| 4d20 | 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 | .....matches:.new.InputDeviceMat |
| 4d40 | 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 | cher().......................Wit |
| 4d60 | 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 | hInterface(XRUtilities.Interface |
| 4d80 | 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | MatchAnyVersion)................ |
| 4da0 | 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 22 4f 63 75 6c 75 73 20 48 4d 44 22 29 | .......WithProduct("Oculus.HMD") |
| 4dc0 | 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 | );..............InputSystem.Regi |
| 4de0 | 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 63 75 6c 75 73 2e 49 6e 70 75 74 | sterLayout<Unity.XR.Oculus.Input |
| 4e00 | 2e 47 65 61 72 56 52 54 72 61 63 6b 65 64 43 6f 6e 74 72 6f 6c 6c 65 72 3e 28 0d 0a 20 20 20 20 | .GearVRTrackedController>(...... |
| 4e20 | 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 | ............matches:.new.InputDe |
| 4e40 | 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | viceMatcher()................... |
| 4e60 | 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e | ....WithInterface(XRUtilities.In |
| 4e80 | 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 | terfaceMatchAnyVersion)......... |
| 4ea0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 22 5e 28 4f 63 75 | ..............WithProduct("^(Ocu |
| 4ec0 | 6c 75 73 20 54 72 61 63 6b 65 64 20 52 65 6d 6f 74 65 29 22 29 29 3b 0d 0a 20 20 20 20 20 20 20 | lus.Tracked.Remote)"));......... |
| 4ee0 | 20 20 20 20 20 23 65 6e 64 69 66 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 23 69 66 20 21 | .....#endif................#if.! |
| 4f00 | 44 49 53 41 42 4c 45 5f 42 55 49 4c 54 49 4e 5f 49 4e 50 55 54 5f 53 59 53 54 45 4d 5f 47 4f 4f | DISABLE_BUILTIN_INPUT_SYSTEM_GOO |
| 4f20 | 47 4c 45 56 52 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 | GLEVR..............InputSystem.R |
| 4f40 | 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 47 6f 6f 67 6c 65 56 72 2e | egisterLayout<Unity.XR.GoogleVr. |
| 4f60 | 44 61 79 64 72 65 61 6d 48 4d 44 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d | DaydreamHMD>(..................m |
| 4f80 | 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 | atches:.new.InputDeviceMatcher() |
| 4fa0 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 | .......................WithInter |
| 4fc0 | 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 | face(XRUtilities.InterfaceMatchA |
| 4fe0 | 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nyVersion)...................... |
| 5000 | 2e 57 69 74 68 50 72 6f 64 75 63 74 28 22 44 61 79 64 72 65 61 6d 20 48 4d 44 22 29 29 3b 0d 0a | .WithProduct("Daydream.HMD"));.. |
| 5020 | 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 | ............InputSystem.Register |
| 5040 | 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 47 6f 6f 67 6c 65 56 72 2e 44 61 79 64 72 65 61 | Layout<Unity.XR.GoogleVr.Daydrea |
| 5060 | 6d 43 6f 6e 74 72 6f 6c 6c 65 72 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d | mController>(..................m |
| 5080 | 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 | atches:.new.InputDeviceMatcher() |
| 50a0 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 | .......................WithInter |
| 50c0 | 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 | face(XRUtilities.InterfaceMatchA |
| 50e0 | 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | nyVersion)...................... |
| 5100 | 2e 57 69 74 68 50 72 6f 64 75 63 74 28 22 5e 28 44 61 79 64 72 65 61 6d 20 43 6f 6e 74 72 6f 6c | .WithProduct("^(Daydream.Control |
| 5120 | 6c 65 72 29 22 29 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 23 65 6e 64 69 66 0d 0a 0d 0a | ler)"));..............#endif.... |
| 5140 | 20 20 20 20 20 20 20 20 20 20 20 20 23 69 66 20 21 44 49 53 41 42 4c 45 5f 42 55 49 4c 54 49 4e | ............#if.!DISABLE_BUILTIN |
| 5160 | 5f 49 4e 50 55 54 5f 53 59 53 54 45 4d 5f 4f 50 45 4e 56 52 0d 0a 20 20 20 20 20 20 20 20 20 20 | _INPUT_SYSTEM_OPENVR............ |
| 5180 | 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 | ..InputSystem.RegisterLayout<Uni |
| 51a0 | 74 79 2e 58 52 2e 4f 70 65 6e 56 52 2e 4f 70 65 6e 56 52 48 4d 44 3e 28 0d 0a 20 20 20 20 20 20 | ty.XR.OpenVR.OpenVRHMD>(........ |
| 51c0 | 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 | ..........matches:.new.InputDevi |
| 51e0 | 63 65 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | ceMatcher()..................... |
| 5200 | 20 2e 57 69 74 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 | ..WithInterface(XRUtilities.Inte |
| 5220 | 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 | rfaceMatchAnyVersion)........... |
| 5240 | 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 22 5e 28 4f 70 65 6e 56 | ............WithProduct("^(OpenV |
| 5260 | 52 20 48 65 61 64 73 65 74 29 7c 5e 28 56 69 76 65 20 50 72 6f 29 22 29 0d 0a 20 20 20 20 20 20 | R.Headset)|^(Vive.Pro)")........ |
| 5280 | 20 20 20 20 20 20 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 | ......);..............InputSyste |
| 52a0 | 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 70 65 6e 56 52 | m.RegisterLayout<Unity.XR.OpenVR |
| 52c0 | 2e 4f 70 65 6e 56 52 43 6f 6e 74 72 6f 6c 6c 65 72 57 4d 52 3e 28 0d 0a 20 20 20 20 20 20 20 20 | .OpenVRControllerWMR>(.......... |
| 52e0 | 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 | ........matches:.new.InputDevice |
| 5300 | 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | Matcher()....................... |
| 5320 | 57 69 74 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 | WithInterface(XRUtilities.Interf |
| 5340 | 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | aceMatchAnyVersion)............. |
| 5360 | 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 22 5e 28 4f 70 65 6e 56 52 20 | ..........WithProduct("^(OpenVR. |
| 5380 | 43 6f 6e 74 72 6f 6c 6c 65 72 5c 5c 28 57 69 6e 64 6f 77 73 4d 52 29 22 29 0d 0a 20 20 20 20 20 | Controller\\(WindowsMR)")....... |
| 53a0 | 20 20 20 20 20 20 20 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 | .......);..............InputSyst |
| 53c0 | 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 70 65 6e 56 | em.RegisterLayout<Unity.XR.OpenV |
| 53e0 | 52 2e 56 69 76 65 57 61 6e 64 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 | R.ViveWand>(..................ma |
| 5400 | 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d | tches:.new.InputDeviceMatcher(). |
| 5420 | 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 | ......................WithInterf |
| 5440 | 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e | ace(XRUtilities.InterfaceMatchAn |
| 5460 | 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e | yVersion)....................... |
| 5480 | 57 69 74 68 4d 61 6e 75 66 61 63 74 75 72 65 72 28 22 48 54 43 22 29 0d 0a 20 20 20 20 20 20 20 | WithManufacturer("HTC")......... |
| 54a0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 40 22 5e 28 4f 70 | ..............WithProduct(@"^(Op |
| 54c0 | 65 6e 56 52 20 43 6f 6e 74 72 6f 6c 6c 65 72 5c 28 28 28 56 69 76 65 2e 20 43 6f 6e 74 72 6f 6c | enVR.Controller\(((Vive..Control |
| 54e0 | 6c 65 72 29 7c 28 56 49 56 45 2e 20 43 6f 6e 74 72 6f 6c 6c 65 72 29 7c 28 56 69 76 65 20 43 6f | ler)|(VIVE..Controller)|(Vive.Co |
| 5500 | 6e 74 72 6f 6c 6c 65 72 29 29 29 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 20 | ntroller)))")..............);... |
| 5520 | 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c | ...........InputSystem.RegisterL |
| 5540 | 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 70 65 6e 56 52 2e 4f 70 65 6e 56 52 4f 63 75 6c | ayout<Unity.XR.OpenVR.OpenVROcul |
| 5560 | 75 73 54 6f 75 63 68 43 6f 6e 74 72 6f 6c 6c 65 72 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | usTouchController>(............. |
| 5580 | 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 | .....matches:.new.InputDeviceMat |
| 55a0 | 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 | cher().......................Wit |
| 55c0 | 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 | hInterface(XRUtilities.Interface |
| 55e0 | 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | MatchAnyVersion)................ |
| 5600 | 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 40 22 5e 28 4f 70 65 6e 56 52 20 43 6f | .......WithProduct(@"^(OpenVR.Co |
| 5620 | 6e 74 72 6f 6c 6c 65 72 5c 28 4f 63 75 6c 75 73 29 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | ntroller\(Oculus)")............. |
| 5640 | 20 29 3b 0d 0a 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 | .);................InputSystem.R |
| 5660 | 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 70 65 6e 56 52 2e 56 69 | egisterLayout<Unity.XR.OpenVR.Vi |
| 5680 | 76 65 54 72 61 63 6b 65 72 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 | veTracker>(..................mat |
| 56a0 | 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d 0a | ches:.new.InputDeviceMatcher().. |
| 56c0 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 61 | .....................WithInterfa |
| 56e0 | 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 | ce(XRUtilities.InterfaceMatchAny |
| 5700 | 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 | Version).......................W |
| 5720 | 69 74 68 4d 61 6e 75 66 61 63 74 75 72 65 72 28 22 48 54 43 22 29 0d 0a 20 20 20 20 20 20 20 20 | ithManufacturer("HTC").......... |
| 5740 | 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 40 22 5e 28 56 49 56 | .............WithProduct(@"^(VIV |
| 5760 | 45 20 54 72 61 63 6b 65 72 29 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 20 20 | E.Tracker)")..............);.... |
| 5780 | 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 | ..........InputSystem.RegisterLa |
| 57a0 | 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 70 65 6e 56 52 2e 48 61 6e 64 65 64 56 69 76 65 54 | yout<Unity.XR.OpenVR.HandedViveT |
| 57c0 | 72 61 63 6b 65 72 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 | racker>(..................matche |
| 57e0 | 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d 61 74 63 68 65 72 28 29 0d 0a 20 20 20 | s:.new.InputDeviceMatcher()..... |
| 5800 | 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 49 6e 74 65 72 66 61 63 65 28 | ..................WithInterface( |
| 5820 | 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 63 65 4d 61 74 63 68 41 6e 79 56 65 72 | XRUtilities.InterfaceMatchAnyVer |
| 5840 | 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 | sion).......................With |
| 5860 | 4d 61 6e 75 66 61 63 74 75 72 65 72 28 22 48 54 43 22 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 | Manufacturer("HTC")............. |
| 5880 | 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 63 74 28 40 22 5e 28 4f 70 65 6e 56 52 | ..........WithProduct(@"^(OpenVR |
| 58a0 | 20 43 6f 6e 74 72 6f 6c 6c 65 72 5c 28 56 49 56 45 20 54 72 61 63 6b 65 72 29 22 29 0d 0a 20 20 | .Controller\(VIVE.Tracker)").... |
| 58c0 | 20 20 20 20 20 20 20 20 20 20 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 49 6e 70 75 74 53 | ..........);..............InputS |
| 58e0 | 79 73 74 65 6d 2e 52 65 67 69 73 74 65 72 4c 61 79 6f 75 74 3c 55 6e 69 74 79 2e 58 52 2e 4f 70 | ystem.RegisterLayout<Unity.XR.Op |
| 5900 | 65 6e 56 52 2e 56 69 76 65 4c 69 67 68 74 68 6f 75 73 65 3e 28 0d 0a 20 20 20 20 20 20 20 20 20 | enVR.ViveLighthouse>(........... |
| 5920 | 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 3a 20 6e 65 77 20 49 6e 70 75 74 44 65 76 69 63 65 4d | .......matches:.new.InputDeviceM |
| 5940 | 61 74 63 68 65 72 28 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 | atcher().......................W |
| 5960 | 69 74 68 49 6e 74 65 72 66 61 63 65 28 58 52 55 74 69 6c 69 74 69 65 73 2e 49 6e 74 65 72 66 61 | ithInterface(XRUtilities.Interfa |
| 5980 | 63 65 4d 61 74 63 68 41 6e 79 56 65 72 73 69 6f 6e 29 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 | ceMatchAnyVersion).............. |
| 59a0 | 20 20 20 20 20 20 20 20 2e 57 69 74 68 4d 61 6e 75 66 61 63 74 75 72 65 72 28 22 48 54 43 22 29 | .........WithManufacturer("HTC") |
| 59c0 | 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2e 57 69 74 68 50 72 6f 64 75 | .......................WithProdu |
| 59e0 | 63 74 28 40 22 5e 28 48 54 43 20 56 32 2d 58 44 2f 58 45 29 22 29 0d 0a 20 20 20 20 20 20 20 20 | ct(@"^(HTC.V2-XD/XE)").......... |
| 5a00 | 20 20 20 20 29 3b 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 23 65 6e 64 69 66 0d 0a 20 20 20 20 | ....);..............#endif...... |
| 5a20 | 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 7d 0d 0a 23 65 6e 64 69 66 20 2f 2f 20 55 4e 49 54 59 | ....}......}..}..#endif.//.UNITY |
| 5a40 | 5f 49 4e 50 55 54 5f 53 59 53 54 45 4d 5f 45 4e 41 42 4c 45 5f 58 52 0d 0a 00 00 00 00 00 00 00 | _INPUT_SYSTEM_ENABLE_XR......... |
| 5a60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 58 52 53 75 70 70 6f 72 74 00 00 00 | ....................XRSupport... |
| 5a80 | 1a 00 00 00 55 6e 69 74 79 45 6e 67 69 6e 65 2e 49 6e 70 75 74 53 79 73 74 65 6d 2e 58 52 00 00 | ....UnityEngine.InputSystem.XR.. |