LeftController.prefab 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. {
  2. "ContainerEntity": {
  3. "Id": "ContainerEntity",
  4. "Name": "LeftController",
  5. "Components": {
  6. "EditorDisabledCompositionComponent": {
  7. "$type": "EditorDisabledCompositionComponent",
  8. "Id": 11779482774443351665
  9. },
  10. "EditorEntityIconComponent": {
  11. "$type": "EditorEntityIconComponent",
  12. "Id": 6871885639765190823
  13. },
  14. "EditorEntitySortComponent": {
  15. "$type": "EditorEntitySortComponent",
  16. "Id": 14220904085108013985,
  17. "Child Entity Order": [
  18. "Entity_[462232764419]"
  19. ]
  20. },
  21. "EditorInspectorComponent": {
  22. "$type": "EditorInspectorComponent",
  23. "Id": 420347287405289781
  24. },
  25. "EditorLockComponent": {
  26. "$type": "EditorLockComponent",
  27. "Id": 17385047416224256165
  28. },
  29. "EditorOnlyEntityComponent": {
  30. "$type": "EditorOnlyEntityComponent",
  31. "Id": 16609915588229987363
  32. },
  33. "EditorPendingCompositionComponent": {
  34. "$type": "EditorPendingCompositionComponent",
  35. "Id": 17291925012769339774
  36. },
  37. "EditorPrefabComponent": {
  38. "$type": "EditorPrefabComponent",
  39. "Id": 1023319176876402814
  40. },
  41. "EditorVisibilityComponent": {
  42. "$type": "EditorVisibilityComponent",
  43. "Id": 49410587080271721
  44. },
  45. "TransformComponent": {
  46. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  47. "Id": 10931142295262437896,
  48. "Parent Entity": ""
  49. }
  50. }
  51. },
  52. "Entities": {
  53. "Entity_[462232764419]": {
  54. "Id": "Entity_[462232764419]",
  55. "Name": "LeftController",
  56. "Components": {
  57. "EditorActorComponent": {
  58. "$type": "EditorActorComponent",
  59. "Id": 7041281474693402034,
  60. "ActorAsset": {
  61. "assetId": {
  62. "guid": "{B82CB27F-AD17-58A3-9868-9CFA43921B44}",
  63. "subId": 892174927
  64. },
  65. "loadBehavior": "QueueLoad",
  66. "assetHint": "assets/meta quest touch pro/models/questpro_controllers_left.actor"
  67. },
  68. "AttachmentTarget": ""
  69. },
  70. "EditorAnimGraphComponent": {
  71. "$type": "EditorAnimGraphComponent",
  72. "Id": 5729396345952890271,
  73. "AnimGraphAsset": {
  74. "assetId": {
  75. "guid": "{039BF2D8-83AC-581E-9C46-94A6D4B6E542}"
  76. },
  77. "assetHint": "devices/generic/animations/leftcontrolleranimgraph.animgraph"
  78. },
  79. "MotionSetAsset": {
  80. "assetId": {
  81. "guid": "{C0FA2FE5-9572-5436-AC06-A440FA1DE527}"
  82. },
  83. "assetHint": "devices/generic/animations/leftcontrollermotionset.motionset"
  84. },
  85. "ActiveMotionSetName": "LeftControllerMotionSet",
  86. "ParameterDefaults": {
  87. "Parameters": [
  88. {
  89. "$type": "AzFramework::ScriptPropertyNumber",
  90. "id": 888802634,
  91. "name": "Grip"
  92. },
  93. {
  94. "$type": "AzFramework::ScriptPropertyBoolean",
  95. "id": 443223901,
  96. "name": "Trigger"
  97. },
  98. {
  99. "$type": "AzFramework::ScriptPropertyBoolean",
  100. "id": 2544645905,
  101. "name": "Button_X"
  102. },
  103. {
  104. "$type": "AzFramework::ScriptPropertyBoolean",
  105. "id": 3769304967,
  106. "name": "Button_Y"
  107. },
  108. {
  109. "$type": "AzFramework::ScriptPropertyBoolean",
  110. "id": 1594372809,
  111. "name": "Button_Menu"
  112. },
  113. {
  114. "$type": "AzFramework::ScriptPropertyNumber",
  115. "id": 3235505549,
  116. "name": "ForwardBack",
  117. "value": 0.5
  118. },
  119. {
  120. "$type": "AzFramework::ScriptPropertyNumber",
  121. "id": 171951434,
  122. "name": "RightLeft",
  123. "value": 0.5
  124. },
  125. {
  126. "$type": "AzFramework::ScriptPropertyNumber",
  127. "id": 1000405998,
  128. "name": "VerticalHorizontal",
  129. "value": 0.5
  130. }
  131. ]
  132. }
  133. },
  134. "EditorDisabledCompositionComponent": {
  135. "$type": "EditorDisabledCompositionComponent",
  136. "Id": 14048002098962308286
  137. },
  138. "EditorEntityIconComponent": {
  139. "$type": "EditorEntityIconComponent",
  140. "Id": 12181966342575173830
  141. },
  142. "EditorEntitySortComponent": {
  143. "$type": "EditorEntitySortComponent",
  144. "Id": 15161252879554997311,
  145. "Child Entity Order": [
  146. "Instance_[1624203005390]/ContainerEntity"
  147. ]
  148. },
  149. "EditorInspectorComponent": {
  150. "$type": "EditorInspectorComponent",
  151. "Id": 11938472995850138981
  152. },
  153. "EditorLockComponent": {
  154. "$type": "EditorLockComponent",
  155. "Id": 9078205223083438436
  156. },
  157. "EditorMaterialComponent": {
  158. "$type": "EditorMaterialComponent",
  159. "Id": 9817255108497746443,
  160. "Controller": {
  161. "Configuration": {
  162. "materials": {
  163. "{}": {
  164. "MaterialAsset": {
  165. "assetId": {
  166. "guid": "{69AAAD7B-0EBA-53D7-82C6-F28C48534FB4}"
  167. },
  168. "assetHint": "assets/meta quest touch pro/materials/leftcontroller.azmaterial"
  169. }
  170. }
  171. }
  172. }
  173. }
  174. },
  175. "EditorOnlyEntityComponent": {
  176. "$type": "EditorOnlyEntityComponent",
  177. "Id": 12327722643749839211
  178. },
  179. "EditorPendingCompositionComponent": {
  180. "$type": "EditorPendingCompositionComponent",
  181. "Id": 12670094709235704851
  182. },
  183. "EditorVisibilityComponent": {
  184. "$type": "EditorVisibilityComponent",
  185. "Id": 2748069681797869774
  186. },
  187. "TransformComponent": {
  188. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  189. "Id": 16703995073445776278,
  190. "Parent Entity": "ContainerEntity"
  191. },
  192. "XRControllerAnimationsComponent": {
  193. "$type": "GenericComponentWrapper",
  194. "Id": 4907161421596322104,
  195. "m_template": {
  196. "$type": "XRControllerAnimationsComponent",
  197. "Controller Items config": [
  198. {
  199. "controlItemType": 1,
  200. "parameterControlLabel": "Grip",
  201. "controlActionLabel": "left_grip"
  202. },
  203. {
  204. "controlItemType": 1,
  205. "parameterControlLabel": "Trigger",
  206. "controlActionLabel": "left_trigger"
  207. },
  208. {
  209. "parameterControlLabel": "Button_X",
  210. "controlActionLabel": "left_button_x"
  211. },
  212. {
  213. "parameterControlLabel": "Button_Y",
  214. "controlActionLabel": "left_button_y"
  215. },
  216. {
  217. "parameterControlLabel": "Button_Menu",
  218. "controlActionLabel": "left_button_menu"
  219. },
  220. {
  221. "controlItemType": 2,
  222. "parameterControlLabel": "RightLeft",
  223. "controlActionLabel": "left_stick_x"
  224. },
  225. {
  226. "controlItemType": 2,
  227. "parameterControlLabel": "ForwardBack",
  228. "controlActionLabel": "left_stick_y"
  229. }
  230. ]
  231. }
  232. },
  233. "XRControllerComponent": {
  234. "$type": "GenericComponentWrapper",
  235. "Id": 7900506098284249803,
  236. "m_template": {
  237. "$type": "XRControllerComponent",
  238. "Label of Pose Label": "left_aim_pose"
  239. }
  240. }
  241. }
  242. }
  243. },
  244. "Instances": {
  245. "Instance_[1624203005390]": {
  246. "Source": "OpenXRVk/Prefabs/RayInteractor.prefab",
  247. "Patches": [
  248. {
  249. "op": "replace",
  250. "path": "/ContainerEntity/Components/TransformComponent/Parent Entity",
  251. "value": "../Entity_[462232764419]"
  252. },
  253. {
  254. "op": "replace",
  255. "path": "/ContainerEntity/Components/TransformComponent/Transform Data/Translate/0",
  256. "value": 0.007355859503149986
  257. },
  258. {
  259. "op": "replace",
  260. "path": "/ContainerEntity/Components/TransformComponent/Transform Data/Translate/1",
  261. "value": 0.030208345502614975
  262. },
  263. {
  264. "op": "replace",
  265. "path": "/Entities/Entity_[2196353285566]/Components/OpenXRVk::XRRayInteractorComponent/m_template/Label of the grip button",
  266. "value": "left_grip"
  267. }
  268. ]
  269. }
  270. }
  271. }