RightController.prefab 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. {
  2. "ContainerEntity": {
  3. "Id": "ContainerEntity",
  4. "Name": "RightController",
  5. "Components": {
  6. "EditorDisabledCompositionComponent": {
  7. "$type": "EditorDisabledCompositionComponent",
  8. "Id": 34078033412513395
  9. },
  10. "EditorEntityIconComponent": {
  11. "$type": "EditorEntityIconComponent",
  12. "Id": 14051435202281902661
  13. },
  14. "EditorEntitySortComponent": {
  15. "$type": "EditorEntitySortComponent",
  16. "Id": 9025176256997049541,
  17. "Child Entity Order": [
  18. "Entity_[548132110339]"
  19. ]
  20. },
  21. "EditorInspectorComponent": {
  22. "$type": "EditorInspectorComponent",
  23. "Id": 173019820387906955
  24. },
  25. "EditorLockComponent": {
  26. "$type": "EditorLockComponent",
  27. "Id": 11458128771806052389
  28. },
  29. "EditorOnlyEntityComponent": {
  30. "$type": "EditorOnlyEntityComponent",
  31. "Id": 874673196786636231
  32. },
  33. "EditorPendingCompositionComponent": {
  34. "$type": "EditorPendingCompositionComponent",
  35. "Id": 12769481896772108205
  36. },
  37. "EditorPrefabComponent": {
  38. "$type": "EditorPrefabComponent",
  39. "Id": 3083936774343637650
  40. },
  41. "EditorVisibilityComponent": {
  42. "$type": "EditorVisibilityComponent",
  43. "Id": 9680360673113429721
  44. },
  45. "TransformComponent": {
  46. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  47. "Id": 11869452665309692181,
  48. "Parent Entity": ""
  49. }
  50. }
  51. },
  52. "Entities": {
  53. "Entity_[548132110339]": {
  54. "Id": "Entity_[548132110339]",
  55. "Name": "RightController",
  56. "Components": {
  57. "EditorActorComponent": {
  58. "$type": "EditorActorComponent",
  59. "Id": 1151242312296902806,
  60. "ActorAsset": {
  61. "assetId": {
  62. "guid": "{4311EABE-3E23-55A1-A7B1-F5D850B5FAAE}",
  63. "subId": 4293839047
  64. },
  65. "loadBehavior": "QueueLoad",
  66. "assetHint": "assets/meta quest touch pro/models/questpro_controllers_right.actor"
  67. },
  68. "AttachmentTarget": ""
  69. },
  70. "EditorAnimGraphComponent": {
  71. "$type": "EditorAnimGraphComponent",
  72. "Id": 9228021136834747917,
  73. "AnimGraphAsset": {
  74. "assetId": {
  75. "guid": "{A9520B93-DD92-5190-80D7-E0766596BDAF}"
  76. },
  77. "assetHint": "devices/generic/animations/rightcontrolleranimgraph.animgraph"
  78. },
  79. "MotionSetAsset": {
  80. "assetId": {
  81. "guid": "{16981D70-E0B0-56B7-9C53-44FEA074CC30}"
  82. },
  83. "assetHint": "devices/generic/animations/rightcontrollermotionset.motionset"
  84. },
  85. "ActiveMotionSetName": "RightControllerMotion",
  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": 4089946065,
  101. "name": "Button_A"
  102. },
  103. {
  104. "$type": "AzFramework::ScriptPropertyBoolean",
  105. "id": 1791938155,
  106. "name": "Button_B"
  107. },
  108. {
  109. "$type": "AzFramework::ScriptPropertyBoolean",
  110. "id": 1578484111,
  111. "name": "Button_Oculus"
  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": 15970460307388455415
  137. },
  138. "EditorEntityIconComponent": {
  139. "$type": "EditorEntityIconComponent",
  140. "Id": 282401860055992202
  141. },
  142. "EditorEntitySortComponent": {
  143. "$type": "EditorEntitySortComponent",
  144. "Id": 6244102222729912879,
  145. "Child Entity Order": [
  146. "Instance_[2350972108222]/ContainerEntity"
  147. ]
  148. },
  149. "EditorInspectorComponent": {
  150. "$type": "EditorInspectorComponent",
  151. "Id": 1047808035942075827
  152. },
  153. "EditorLockComponent": {
  154. "$type": "EditorLockComponent",
  155. "Id": 6100418284897881271
  156. },
  157. "EditorMaterialComponent": {
  158. "$type": "EditorMaterialComponent",
  159. "Id": 4816716514059182530,
  160. "Controller": {
  161. "Configuration": {
  162. "materials": {
  163. "{}": {
  164. "MaterialAsset": {
  165. "assetId": {
  166. "guid": "{C7DE388F-A267-54EE-8206-9E4798AEE907}"
  167. },
  168. "assetHint": "assets/meta quest touch pro/materials/rightcontroller.azmaterial"
  169. }
  170. }
  171. }
  172. }
  173. }
  174. },
  175. "EditorOnlyEntityComponent": {
  176. "$type": "EditorOnlyEntityComponent",
  177. "Id": 18248624067260463296
  178. },
  179. "EditorPendingCompositionComponent": {
  180. "$type": "EditorPendingCompositionComponent",
  181. "Id": 11197243245082505255
  182. },
  183. "EditorVisibilityComponent": {
  184. "$type": "EditorVisibilityComponent",
  185. "Id": 609030806181826849
  186. },
  187. "TransformComponent": {
  188. "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
  189. "Id": 6366583670024026618,
  190. "Parent Entity": "ContainerEntity"
  191. },
  192. "XRControllerAnimationsComponent": {
  193. "$type": "GenericComponentWrapper",
  194. "Id": 15144022874051115297,
  195. "m_template": {
  196. "$type": "XRControllerAnimationsComponent",
  197. "Controller Items config": [
  198. {
  199. "controlItemType": 1,
  200. "parameterControlLabel": "Grip",
  201. "controlActionLabel": "right_grip"
  202. },
  203. {
  204. "controlItemType": 1,
  205. "parameterControlLabel": "Trigger",
  206. "controlActionLabel": "right_trigger"
  207. },
  208. {
  209. "parameterControlLabel": "Button_A",
  210. "controlActionLabel": "right_button_a"
  211. },
  212. {
  213. "parameterControlLabel": "Button_B",
  214. "controlActionLabel": "right_button_b"
  215. },
  216. {
  217. "parameterControlLabel": "Button_Oculus",
  218. "controlActionLabel": "right_button_menu"
  219. },
  220. {
  221. "controlItemType": 2,
  222. "parameterControlLabel": "RightLeft",
  223. "controlActionLabel": "right_stick_x"
  224. },
  225. {
  226. "controlItemType": 2,
  227. "parameterControlLabel": "ForwardBack",
  228. "controlActionLabel": "right_stick_y"
  229. }
  230. ]
  231. }
  232. },
  233. "XRControllerComponent": {
  234. "$type": "GenericComponentWrapper",
  235. "Id": 5841023491515403141,
  236. "m_template": {
  237. "$type": "XRControllerComponent",
  238. "Label of Pose Label": "right_aim_pose"
  239. }
  240. }
  241. }
  242. }
  243. },
  244. "Instances": {
  245. "Instance_[2350972108222]": {
  246. "Source": "OpenXRVk/Prefabs/RayInteractor.prefab",
  247. "Patches": [
  248. {
  249. "op": "replace",
  250. "path": "/ContainerEntity/Components/TransformComponent/Parent Entity",
  251. "value": "../Entity_[548132110339]"
  252. },
  253. {
  254. "op": "replace",
  255. "path": "/ContainerEntity/Components/TransformComponent/Transform Data/Translate/0",
  256. "value": -0.005869269371032715
  257. },
  258. {
  259. "op": "replace",
  260. "path": "/ContainerEntity/Components/TransformComponent/Transform Data/Translate/1",
  261. "value": 0.032036617398262024
  262. },
  263. {
  264. "op": "replace",
  265. "path": "/Entities/Entity_[2196353285566]/Components/OpenXRVk::XRRayInteractorComponent/m_template/Label of the grip button",
  266. "value": "right_grip"
  267. }
  268. ]
  269. }
  270. }
  271. }