@babylonjs-toolkit/next 9.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +312 -0
  2. package/lib/blendtreeposition.d.ts +5 -0
  3. package/lib/blendtreeposition.d.ts.map +1 -0
  4. package/lib/blendtreeposition.js +5 -0
  5. package/lib/channelmixerplugin.d.ts +11 -0
  6. package/lib/channelmixerplugin.d.ts.map +1 -0
  7. package/lib/channelmixerplugin.js +34 -0
  8. package/lib/collisioncontact.d.ts +7 -0
  9. package/lib/collisioncontact.d.ts.map +1 -0
  10. package/lib/collisioncontact.js +7 -0
  11. package/lib/collisionfilters.d.ts +10 -0
  12. package/lib/collisionfilters.d.ts.map +1 -0
  13. package/lib/collisionfilters.js +10 -0
  14. package/lib/collisionflags.d.ts +14 -0
  15. package/lib/collisionflags.d.ts.map +1 -0
  16. package/lib/collisionflags.js +14 -0
  17. package/lib/collisionstate.d.ts +8 -0
  18. package/lib/collisionstate.d.ts.map +1 -0
  19. package/lib/collisionstate.js +8 -0
  20. package/lib/customloadingscreen.d.ts +16 -0
  21. package/lib/customloadingscreen.d.ts.map +1 -0
  22. package/lib/customloadingscreen.js +48 -0
  23. package/lib/entitycontroller.d.ts +11 -0
  24. package/lib/entitycontroller.d.ts.map +1 -0
  25. package/lib/entitycontroller.js +41 -0
  26. package/lib/fontmanifestentry.d.ts +8 -0
  27. package/lib/fontmanifestentry.d.ts.map +1 -0
  28. package/lib/fontmanifestentry.js +1 -0
  29. package/lib/handedness.d.ts +6 -0
  30. package/lib/handedness.d.ts.map +1 -0
  31. package/lib/handedness.js +6 -0
  32. package/lib/ianimationcurve.d.ts +14 -0
  33. package/lib/ianimationcurve.d.ts.map +1 -0
  34. package/lib/ianimationcurve.js +1 -0
  35. package/lib/index.d.ts +94 -0
  36. package/lib/index.d.ts.map +1 -0
  37. package/lib/index.js +90 -0
  38. package/lib/intersectionprecision.d.ts +5 -0
  39. package/lib/intersectionprecision.d.ts.map +1 -0
  40. package/lib/intersectionprecision.js +5 -0
  41. package/lib/iparticlesystemtransform.d.ts +9 -0
  42. package/lib/iparticlesystemtransform.d.ts.map +1 -0
  43. package/lib/iparticlesystemtransform.js +1 -0
  44. package/lib/irecastnavigationplugin.d.ts +92 -0
  45. package/lib/irecastnavigationplugin.d.ts.map +1 -0
  46. package/lib/irecastnavigationplugin.js +1 -0
  47. package/lib/linesmeshrenderer.d.ts +22 -0
  48. package/lib/linesmeshrenderer.d.ts.map +1 -0
  49. package/lib/linesmeshrenderer.js +79 -0
  50. package/lib/localmessagebus.d.ts +9 -0
  51. package/lib/localmessagebus.d.ts.map +1 -0
  52. package/lib/localmessagebus.js +44 -0
  53. package/lib/lutblendplugin.d.ts +13 -0
  54. package/lib/lutblendplugin.d.ts.map +1 -0
  55. package/lib/lutblendplugin.js +153 -0
  56. package/lib/mousebuttonmode.d.ts +6 -0
  57. package/lib/mousebuttonmode.d.ts.map +1 -0
  58. package/lib/mousebuttonmode.js +6 -0
  59. package/lib/movementtype.d.ts +5 -0
  60. package/lib/movementtype.d.ts.map +1 -0
  61. package/lib/movementtype.js +5 -0
  62. package/lib/noisefunction2d.d.ts +2 -0
  63. package/lib/noisefunction2d.d.ts.map +1 -0
  64. package/lib/noisefunction2d.js +1 -0
  65. package/lib/noisefunction3d.d.ts +2 -0
  66. package/lib/noisefunction3d.d.ts.map +1 -0
  67. package/lib/noisefunction3d.js +1 -0
  68. package/lib/noisefunction4d.d.ts +2 -0
  69. package/lib/noisefunction4d.d.ts.map +1 -0
  70. package/lib/noisefunction4d.js +1 -0
  71. package/lib/perlin2d.d.ts +9 -0
  72. package/lib/perlin2d.d.ts.map +1 -0
  73. package/lib/perlin2d.js +45 -0
  74. package/lib/playercontrol.d.ts +5 -0
  75. package/lib/playercontrol.d.ts.map +1 -0
  76. package/lib/playercontrol.js +5 -0
  77. package/lib/prefabobjectpool.d.ts +20 -0
  78. package/lib/prefabobjectpool.d.ts.map +1 -0
  79. package/lib/prefabobjectpool.js +96 -0
  80. package/lib/project.d.ts +2283 -0
  81. package/lib/project.d.ts.map +1 -0
  82. package/lib/project.js +10497 -0
  83. package/lib/randomfn.d.ts +2 -0
  84. package/lib/randomfn.d.ts.map +1 -0
  85. package/lib/randomfn.js +1 -0
  86. package/lib/raycasthitresult.d.ts +21 -0
  87. package/lib/raycasthitresult.d.ts.map +1 -0
  88. package/lib/raycasthitresult.js +36 -0
  89. package/lib/recastclassctor.d.ts +2 -0
  90. package/lib/recastclassctor.d.ts.map +1 -0
  91. package/lib/recastclassctor.js +1 -0
  92. package/lib/roomerrormessage.d.ts +5 -0
  93. package/lib/roomerrormessage.d.ts.map +1 -0
  94. package/lib/roomerrormessage.js +2 -0
  95. package/lib/scenemanager.d.ts +4212 -0
  96. package/lib/scenemanager.d.ts.map +1 -0
  97. package/lib/scenemanager.js +41292 -0
  98. package/lib/simplexnoise.d.ts +21 -0
  99. package/lib/simplexnoise.d.ts.map +1 -0
  100. package/lib/simplexnoise.js +362 -0
  101. package/lib/touchjoystickhandler.d.ts +39 -0
  102. package/lib/touchjoystickhandler.d.ts.map +1 -0
  103. package/lib/touchjoystickhandler.js +175 -0
  104. package/lib/touchmousebutton.d.ts +6 -0
  105. package/lib/touchmousebutton.d.ts.map +1 -0
  106. package/lib/touchmousebutton.js +6 -0
  107. package/lib/triggervolume.d.ts +6 -0
  108. package/lib/triggervolume.d.ts.map +1 -0
  109. package/lib/triggervolume.js +6 -0
  110. package/lib/unitydropdownmenu.d.ts +20 -0
  111. package/lib/unitydropdownmenu.d.ts.map +1 -0
  112. package/lib/unitydropdownmenu.js +144 -0
  113. package/lib/unityscrollbar.d.ts +11 -0
  114. package/lib/unityscrollbar.d.ts.map +1 -0
  115. package/lib/unityscrollbar.js +38 -0
  116. package/lib/unityslider.d.ts +4 -0
  117. package/lib/unityslider.d.ts.map +1 -0
  118. package/lib/unityslider.js +3 -0
  119. package/lib/universalcharactercontroller.d.ts +3 -0
  120. package/lib/universalcharactercontroller.d.ts.map +1 -0
  121. package/lib/universalcharactercontroller.js +1 -0
  122. package/lib/userinputpointer.d.ts +6 -0
  123. package/lib/userinputpointer.d.ts.map +1 -0
  124. package/lib/userinputpointer.js +6 -0
  125. package/lib/windowsplatform.d.ts +17 -0
  126. package/lib/windowsplatform.d.ts.map +1 -0
  127. package/lib/windowsplatform.js +133 -0
  128. package/lib/xbox360trigger.d.ts +5 -0
  129. package/lib/xbox360trigger.d.ts.map +1 -0
  130. package/lib/xbox360trigger.js +5 -0
  131. package/package.json +217 -0
@@ -0,0 +1,14 @@
1
+ export interface IAnimationCurve {
2
+ length: number;
3
+ preWrapMode: string;
4
+ postWrapMode: string;
5
+ keyframes: IAnimationKeyframe[];
6
+ }
7
+ export interface IAnimationKeyframe {
8
+ time: number;
9
+ value: number;
10
+ inTangent: number;
11
+ outTangent: number;
12
+ tangentMode: number;
13
+ }
14
+ //# sourceMappingURL=ianimationcurve.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ianimationcurve.d.ts","sourceRoot":"","sources":["../src/ianimationcurve.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,eAAe;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,kBAAkB,EAAE,CAAC;CACnC;AAEL,MAAM,WAAW,kBAAkB;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1 @@
1
+ export {};
package/lib/index.d.ts ADDED
@@ -0,0 +1,94 @@
1
+ export * from './scenemanager';
2
+ export * from './handedness';
3
+ export * from './playercontrol';
4
+ export * from './xbox360trigger';
5
+ export * from './movementtype';
6
+ export * from './collisioncontact';
7
+ export * from './intersectionprecision';
8
+ export * from './collisionfilters';
9
+ export * from './collisionstate';
10
+ export * from './collisionflags';
11
+ export * from './userinputpointer';
12
+ export * from './triggervolume';
13
+ export * from './roomerrormessage';
14
+ export * from './customloadingscreen';
15
+ export * from './localmessagebus';
16
+ export * from './prefabobjectpool';
17
+ export * from './raycasthitresult';
18
+ export * from './linesmeshrenderer';
19
+ export * from './entitycontroller';
20
+ export * from './recastclassctor';
21
+ export * from './irecastnavigationplugin';
22
+ export * from './perlin2d';
23
+ export * from './randomfn';
24
+ export * from './noisefunction2d';
25
+ export * from './noisefunction3d';
26
+ export * from './noisefunction4d';
27
+ export * from './simplexnoise';
28
+ export * from './windowsplatform';
29
+ export * from './mousebuttonmode';
30
+ export * from './touchmousebutton';
31
+ export * from './touchjoystickhandler';
32
+ export * from './blendtreeposition';
33
+ export * from './ianimationcurve';
34
+ export * from './channelmixerplugin';
35
+ export * from './universalcharactercontroller';
36
+ export * from './lutblendplugin';
37
+ export * from './iparticlesystemtransform';
38
+ export * from './unityslider';
39
+ export * from './unityscrollbar';
40
+ export * from './unitydropdownmenu';
41
+ export * from './fontmanifestentry';
42
+ import * as BABYLON from "@babylonjs/core/Legacy/legacy";
43
+ import * as GUI from "@babylonjs/gui";
44
+ import * as _tk_0 from './scenemanager';
45
+ import * as _tk_1 from './handedness';
46
+ import * as _tk_2 from './playercontrol';
47
+ import * as _tk_3 from './xbox360trigger';
48
+ import * as _tk_4 from './movementtype';
49
+ import * as _tk_5 from './collisioncontact';
50
+ import * as _tk_6 from './intersectionprecision';
51
+ import * as _tk_7 from './collisionfilters';
52
+ import * as _tk_8 from './collisionstate';
53
+ import * as _tk_9 from './collisionflags';
54
+ import * as _tk_10 from './userinputpointer';
55
+ import * as _tk_11 from './triggervolume';
56
+ import * as _tk_12 from './roomerrormessage';
57
+ import * as _tk_13 from './customloadingscreen';
58
+ import * as _tk_14 from './localmessagebus';
59
+ import * as _tk_15 from './prefabobjectpool';
60
+ import * as _tk_16 from './raycasthitresult';
61
+ import * as _tk_17 from './linesmeshrenderer';
62
+ import * as _tk_18 from './entitycontroller';
63
+ import * as _tk_19 from './recastclassctor';
64
+ import * as _tk_20 from './irecastnavigationplugin';
65
+ import * as _tk_21 from './perlin2d';
66
+ import * as _tk_22 from './randomfn';
67
+ import * as _tk_23 from './noisefunction2d';
68
+ import * as _tk_24 from './noisefunction3d';
69
+ import * as _tk_25 from './noisefunction4d';
70
+ import * as _tk_26 from './simplexnoise';
71
+ import * as _tk_27 from './windowsplatform';
72
+ import * as _tk_28 from './mousebuttonmode';
73
+ import * as _tk_29 from './touchmousebutton';
74
+ import * as _tk_30 from './touchjoystickhandler';
75
+ import * as _tk_31 from './blendtreeposition';
76
+ import * as _tk_32 from './ianimationcurve';
77
+ import * as _tk_33 from './channelmixerplugin';
78
+ import * as _tk_34 from './universalcharactercontroller';
79
+ import * as _tk_35 from './lutblendplugin';
80
+ import * as _tk_36 from './iparticlesystemtransform';
81
+ import * as _tk_37 from './unityslider';
82
+ import * as _tk_38 from './unityscrollbar';
83
+ import * as _tk_39 from './unitydropdownmenu';
84
+ import * as _tk_40 from './fontmanifestentry';
85
+ declare global {
86
+ interface Window {
87
+ BABYLON: typeof BABYLON & {
88
+ GUI: typeof GUI;
89
+ };
90
+ TOOLKIT: typeof _tk_0 & typeof _tk_1 & typeof _tk_2 & typeof _tk_3 & typeof _tk_4 & typeof _tk_5 & typeof _tk_6 & typeof _tk_7 & typeof _tk_8 & typeof _tk_9 & typeof _tk_10 & typeof _tk_11 & typeof _tk_12 & typeof _tk_13 & typeof _tk_14 & typeof _tk_15 & typeof _tk_16 & typeof _tk_17 & typeof _tk_18 & typeof _tk_19 & typeof _tk_20 & typeof _tk_21 & typeof _tk_22 & typeof _tk_23 & typeof _tk_24 & typeof _tk_25 & typeof _tk_26 & typeof _tk_27 & typeof _tk_28 & typeof _tk_29 & typeof _tk_30 & typeof _tk_31 & typeof _tk_32 & typeof _tk_33 & typeof _tk_34 & typeof _tk_35 & typeof _tk_36 & typeof _tk_37 & typeof _tk_38 & typeof _tk_39 & typeof _tk_40;
91
+ PROJECT: Record<string, unknown>;
92
+ }
93
+ }
94
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,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AAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,GAAG,OAAO,MAAM,CAAC;QAC7oB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC;CACJ"}
package/lib/index.js ADDED
@@ -0,0 +1,90 @@
1
+ export * from './scenemanager';
2
+ export * from './handedness';
3
+ export * from './playercontrol';
4
+ export * from './xbox360trigger';
5
+ export * from './movementtype';
6
+ export * from './collisioncontact';
7
+ export * from './intersectionprecision';
8
+ export * from './collisionfilters';
9
+ export * from './collisionstate';
10
+ export * from './collisionflags';
11
+ export * from './userinputpointer';
12
+ export * from './triggervolume';
13
+ export * from './roomerrormessage';
14
+ export * from './customloadingscreen';
15
+ export * from './localmessagebus';
16
+ export * from './prefabobjectpool';
17
+ export * from './raycasthitresult';
18
+ export * from './linesmeshrenderer';
19
+ export * from './entitycontroller';
20
+ export * from './recastclassctor';
21
+ export * from './irecastnavigationplugin';
22
+ export * from './perlin2d';
23
+ export * from './randomfn';
24
+ export * from './noisefunction2d';
25
+ export * from './noisefunction3d';
26
+ export * from './noisefunction4d';
27
+ export * from './simplexnoise';
28
+ export * from './windowsplatform';
29
+ export * from './mousebuttonmode';
30
+ export * from './touchmousebutton';
31
+ export * from './touchjoystickhandler';
32
+ export * from './blendtreeposition';
33
+ export * from './ianimationcurve';
34
+ export * from './channelmixerplugin';
35
+ export * from './universalcharactercontroller';
36
+ export * from './lutblendplugin';
37
+ export * from './iparticlesystemtransform';
38
+ export * from './unityslider';
39
+ export * from './unityscrollbar';
40
+ export * from './unitydropdownmenu';
41
+ export * from './fontmanifestentry';
42
+ import * as BABYLON from "@babylonjs/core/Legacy/legacy";
43
+ import * as GUI from "@babylonjs/gui";
44
+ import * as _tk_0 from './scenemanager';
45
+ import * as _tk_1 from './handedness';
46
+ import * as _tk_2 from './playercontrol';
47
+ import * as _tk_3 from './xbox360trigger';
48
+ import * as _tk_4 from './movementtype';
49
+ import * as _tk_5 from './collisioncontact';
50
+ import * as _tk_6 from './intersectionprecision';
51
+ import * as _tk_7 from './collisionfilters';
52
+ import * as _tk_8 from './collisionstate';
53
+ import * as _tk_9 from './collisionflags';
54
+ import * as _tk_10 from './userinputpointer';
55
+ import * as _tk_11 from './triggervolume';
56
+ import * as _tk_12 from './roomerrormessage';
57
+ import * as _tk_13 from './customloadingscreen';
58
+ import * as _tk_14 from './localmessagebus';
59
+ import * as _tk_15 from './prefabobjectpool';
60
+ import * as _tk_16 from './raycasthitresult';
61
+ import * as _tk_17 from './linesmeshrenderer';
62
+ import * as _tk_18 from './entitycontroller';
63
+ import * as _tk_19 from './recastclassctor';
64
+ import * as _tk_20 from './irecastnavigationplugin';
65
+ import * as _tk_21 from './perlin2d';
66
+ import * as _tk_22 from './randomfn';
67
+ import * as _tk_23 from './noisefunction2d';
68
+ import * as _tk_24 from './noisefunction3d';
69
+ import * as _tk_25 from './noisefunction4d';
70
+ import * as _tk_26 from './simplexnoise';
71
+ import * as _tk_27 from './windowsplatform';
72
+ import * as _tk_28 from './mousebuttonmode';
73
+ import * as _tk_29 from './touchmousebutton';
74
+ import * as _tk_30 from './touchjoystickhandler';
75
+ import * as _tk_31 from './blendtreeposition';
76
+ import * as _tk_32 from './ianimationcurve';
77
+ import * as _tk_33 from './channelmixerplugin';
78
+ import * as _tk_34 from './universalcharactercontroller';
79
+ import * as _tk_35 from './lutblendplugin';
80
+ import * as _tk_36 from './iparticlesystemtransform';
81
+ import * as _tk_37 from './unityslider';
82
+ import * as _tk_38 from './unityscrollbar';
83
+ import * as _tk_39 from './unitydropdownmenu';
84
+ import * as _tk_40 from './fontmanifestentry';
85
+ if (typeof window !== 'undefined') {
86
+ window.BABYLON = Object.assign({}, BABYLON, { GUI });
87
+ window.TOOLKIT = Object.assign({}, _tk_0, _tk_1, _tk_2, _tk_3, _tk_4, _tk_5, _tk_6, _tk_7, _tk_8, _tk_9, _tk_10, _tk_11, _tk_12, _tk_13, _tk_14, _tk_15, _tk_16, _tk_17, _tk_18, _tk_19, _tk_20, _tk_21, _tk_22, _tk_23, _tk_24, _tk_25, _tk_26, _tk_27, _tk_28, _tk_29, _tk_30, _tk_31, _tk_32, _tk_33, _tk_34, _tk_35, _tk_36, _tk_37, _tk_38, _tk_39, _tk_40);
88
+ if (!window.PROJECT)
89
+ window.PROJECT = {};
90
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum IntersectionPrecision {
2
+ AABB = 0,
3
+ OBB = 1
4
+ }
5
+ //# sourceMappingURL=intersectionprecision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intersectionprecision.d.ts","sourceRoot":"","sources":["../src/intersectionprecision.ts"],"names":[],"mappings":"AACA,oBAAY,qBAAqB;IACzB,IAAI,IAAI;IACR,GAAG,IAAI;CACV"}
@@ -0,0 +1,5 @@
1
+ export var IntersectionPrecision;
2
+ (function (IntersectionPrecision) {
3
+ IntersectionPrecision[IntersectionPrecision["AABB"] = 0] = "AABB";
4
+ IntersectionPrecision[IntersectionPrecision["OBB"] = 1] = "OBB";
5
+ })(IntersectionPrecision || (IntersectionPrecision = {}));
@@ -0,0 +1,9 @@
1
+ import { IParticleSystemVector3 } from './scenemanager';
2
+ export interface IParticleSystemTransform {
3
+ name: string;
4
+ instanceId: number;
5
+ position: IParticleSystemVector3;
6
+ rotation: IParticleSystemVector3;
7
+ scale: IParticleSystemVector3;
8
+ }
9
+ //# sourceMappingURL=iparticlesystemtransform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iparticlesystemtransform.d.ts","sourceRoot":"","sources":["../src/iparticlesystemtransform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,WAAW,wBAAwB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,sBAAsB,CAAC;IACjC,QAAQ,EAAE,sBAAsB,CAAC;IACjC,KAAK,EAAE,sBAAsB,CAAC;CACjC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,92 @@
1
+ export interface IRecastNavigationPlugin {
2
+ isNull?: (v: any) => boolean;
3
+ destroy?: (v: any) => void;
4
+ allocCompactHeightfield?: () => any;
5
+ allocContourSet?: () => any;
6
+ allocHeightfield?: () => any;
7
+ allocHeightfieldLayerSet?: () => any;
8
+ allocPolyMesh?: () => any;
9
+ allocPolyMeshDetail?: () => any;
10
+ buildCompactHeightfield?: (buildContext: any, walkableHeight: number, walkableClimb: number, heightfield: any, compactHeightfield: any) => any;
11
+ buildContours?: (buildContext: any, compactHeightfield: any, maxError: number, maxEdgeLen: number, contourSet: any, buildFlags?: number) => any;
12
+ buildDistanceField?: (buildContext: any, compactHeightfield: any) => any;
13
+ buildHeightfieldLayers?: (buildContext: any, compactHeightfield: any, borderSize: number, walkableHeight: number, heightfieldLayerSet: any) => any;
14
+ buildLayerRegions?: (buildContext: any, compactHeightfield: any, borderSize: number, minRegionArea: number) => any;
15
+ buildPolyMesh?: (buildContext: any, contourSet: any, nvp: number, polyMesh: any) => any;
16
+ buildPolyMeshDetail?: (buildContext: any, mesh: any, compactHeightfield: any, sampleDist: number, sampleMaxError: number, polyMeshDetail: any) => any;
17
+ buildRegions?: (buildContext: any, compactHeightfield: any, borderSize: number, minRegionArea: number, mergeRegionArea: number) => any;
18
+ buildRegionsMonotone?: (buildContext: any, compactHeightfield: any, borderSize: number, minRegionArea: number, mergeRegionArea: number) => any;
19
+ buildTileCacheLayer?: (comp: any, header: any, heights: any, areas: any, cons: any, tileCacheData: any) => any;
20
+ buildTiledNavMeshRcConfig?: (options: {
21
+ recastConfig: any;
22
+ navMeshBounds: [number, number, number, number, number, number];
23
+ }) => any;
24
+ calcBounds?: (verts: number[], nv: number) => any;
25
+ calcGridSize?: (bmin: number[], bmax: number[], cs: number) => any;
26
+ clearUnwalkableTriangles?: (buildContext: any, walkableSlopeAngle: number, verts: number[], nv: number, tris: number[], nt: number, areas: any) => any;
27
+ cloneRcConfig?: (rcConfig: any) => any;
28
+ copyPolyMesh?: (buildContext: any, src: any, dest: any) => any;
29
+ createDefaultTileCacheMeshProcess?: () => any;
30
+ createHeightfield?: (buildContext: any, heightfield: any, width: number, height: number, bmin: number[], bmax: number[], cs: number, ch: number) => any;
31
+ createNavMeshData?: (navMeshCreateParams: any) => any;
32
+ createRcConfig?: (partialConfig: any) => any;
33
+ crowdAgentParamsDefaults?: {
34
+ [key: string]: any;
35
+ };
36
+ dtIlog2?: (v: number) => number;
37
+ dtNextPow2?: (v: number) => number;
38
+ erodeWalkableArea?: (buildContext: any, radius: number, compactHeightfield: any) => any;
39
+ exportNavMesh?: (navMesh: any) => any;
40
+ exportTileCache?: (navMesh: any, tileCache: any) => any;
41
+ filterLedgeSpans?: (buildContext: any, walkableHeight: number, verts: number[], nv: number, tris: number[], nt: number, areas: any) => any;
42
+ filterLowHangingWalkableObstacles?: (buildContext: any, walkableClimb: number, heightfield: any) => any;
43
+ filterWalkableLowHeightSpans?: (buildContext: any, walkableHeight: number, heightfield: any) => any;
44
+ floodFillPruneNavMesh?: (navMesh: any, startPolyRefs: any) => any;
45
+ freeCompactHeightfield?: (compactHeightfield: any) => void;
46
+ freeContourSet?: (contourSet: any) => void;
47
+ freeHeightfield?: (heightfield: any) => void;
48
+ freeHeightfieldLayerSet?: (heightfieldLayerSet: any) => void;
49
+ freePolyMesh?: (polyMesh: any) => void;
50
+ freePolyMeshDetail?: (polyMeshDetail: any) => void;
51
+ generateSoloNavMesh?: (positions: number[], indices: number[], navMeshGeneratorConfig?: any, keepIntermediates?: boolean) => any;
52
+ generateSoloNavMeshData?: (positions: number[], indices: number[], navMeshGeneratorConfig?: any, keepIntermediates?: boolean) => any;
53
+ generateTileCache?: (positions: number[], indices: number[], navMeshGeneratorConfig?: any, keepIntermediates?: boolean) => any;
54
+ generateTileNavMeshData?: (positions: number[], indices: number[], rcConfig: any, chunkyTriMesh: any, tile: number, options?: any, keepIntermediates?: boolean, buildContext?: any) => any;
55
+ generateTiledNavMesh?: (positions: number[], indices: number[], navMeshGeneratorConfig?: any, keepIntermediates?: boolean) => any;
56
+ getBoundingBox?: (positions: number[], indices: number[]) => any;
57
+ getCon?: (compactSpan: any, dir: number) => any;
58
+ getDirForOffset?: (x: number, y: number) => number;
59
+ getDirOffsetX?: (dir: number) => number;
60
+ getDirOffsetY?: (dir: number) => number;
61
+ getHeightFieldSpanCount?: (buildContext: any, heightfield: any) => number;
62
+ getHeightfieldLayerAreas?: (heightfieldLayer: any) => any;
63
+ getHeightfieldLayerCons?: (heightfieldLayer: any) => any;
64
+ getHeightfieldLayerHeights?: (heightfieldLayer: any) => any;
65
+ getNavMeshPositionsAndIndices?: (navMesh: any, flags?: number) => any;
66
+ getRandomSeed?: () => number;
67
+ importNavMesh?: (data: any) => any;
68
+ importTileCache?: (data: any, tileCacheMeshProcess?: any) => any;
69
+ init?: (impl: any) => Promise<any> | any;
70
+ markBoxArea?: (buildContext: any, bmin: number[], bmax: number[], areaId: number, compactHeightfield: any) => any;
71
+ markConvexPolyArea?: (buildContext: any, verts: number[], nverts: number, hmin: number, hmax: number, areaId: number, compactHeightfield: any) => any;
72
+ markCylinderArea?: (buildContext: any, pos: number[], radius: number, height: number, areaId: number, compactHeightfield: any) => any;
73
+ markWalkableTriangles?: (buildContext: any, walkableSlopeAngle: number, verts: number[], nv: number, tris: number[], nt: number, areas: any) => any;
74
+ medianFilterWalkableArea?: (buildContext: any, compactHeightfield: any) => any;
75
+ mergePolyMeshDetails?: (buildContext: any, meshes: any[], out: any) => any;
76
+ mergePolyMeshes?: (buildContext: any, meshes: any[], outPolyMesh: any) => any;
77
+ mergePositionsAndIndices?: (meshes: any[]) => any;
78
+ rasterizeTriangles?: (buildContext: any, verts: number[], nv: number, tris: number[], areas: any, nt: number, heightfield: any, flagMergeThreshold?: number) => any;
79
+ recastConfigDefaults?: Record<string, any>;
80
+ rgbToDuRgba?: (hexColor: string | number) => number;
81
+ setCon?: (compactSpan: any, dir: number, i: number) => any;
82
+ setRandomSeed?: (seed: number) => void;
83
+ soloNavMeshGeneratorConfigDefaults?: Record<string, any>;
84
+ statusDetail?: (status: number, detail: number) => number;
85
+ statusFailed?: (status: number) => boolean;
86
+ statusInProgress?: (status: number) => boolean;
87
+ statusSucceed?: (status: number) => boolean;
88
+ statusToReadableString?: (status: number) => string;
89
+ tileCacheGeneratorConfigDefaults?: Record<string, any>;
90
+ tiledNavMeshGeneratorConfigDefaults?: Record<string, any>;
91
+ }
92
+ //# sourceMappingURL=irecastnavigationplugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"irecastnavigationplugin.d.ts","sourceRoot":"","sources":["../src/irecastnavigationplugin.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,uBAAuB;IAmEhC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAG3B,uBAAuB,CAAC,EAAE,MAAM,GAAG,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,GAAG,CAAC;IAC5B,gBAAgB,CAAC,EAAE,MAAM,GAAG,CAAC;IAC7B,wBAAwB,CAAC,EAAE,MAAM,GAAG,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,GAAG,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,GAAG,CAAC;IAGhC,uBAAuB,CAAC,E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C,sBAAsB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;IAEpD,gCAAgC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACvD,mCAAmC,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC7D"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ import { Vector3 } from '@babylonjs/core/Maths/math.vector';
2
+ import { Scene } from '@babylonjs/core/scene';
3
+ import { Mesh } from '@babylonjs/core/Meshes/mesh';
4
+ import { LinesMesh } from '@babylonjs/core/Meshes/linesMesh';
5
+ import { Color3 } from '@babylonjs/core/Maths/math.color';
6
+ export declare class LinesMeshRenderer {
7
+ private _numPoints;
8
+ private _pointMesh;
9
+ private _pointSize;
10
+ private _pointType;
11
+ private _linesName;
12
+ private _linesMesh;
13
+ private _babylonScene;
14
+ get pointMesh(): Mesh;
15
+ get linesMesh(): LinesMesh;
16
+ constructor(name: string, scene: Scene, pointType?: number, pointSize?: number);
17
+ dispose(doNotRecurse?: boolean): void;
18
+ hidePoint(hide?: boolean): void;
19
+ drawPoint(position: Vector3): void;
20
+ drawLine(points: Vector3[], color?: Color3): void;
21
+ }
22
+ //# sourceMappingURL=linesmeshrenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linesmeshrenderer.d.ts","sourceRoot":"","sources":["../src/linesmeshrenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAK1D,qBAAa,iBAAiB;IACtB,OAAO,CAAC,UAAU,CAAc;IAChC,OAAO,CAAC,UAAU,CAAc;IAChC,OAAO,CAAC,UAAU,CAAe;IACjC,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,UAAU,CAAuB;IACzC,OAAO,CAAC,UAAU,CAAmB;IACrC,OAAO,CAAC,aAAa,CAAe;IACpC,IAAW,SAAS,IAAI,IAAI,CAA4B;IACxD,IAAW,SAAS,IAAI,SAAS,CAA4B;gBAC1C,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,GAAE,MAAU,EAAE,SAAS,GAAE,MAAY;IAQtF,OAAO,CAAC,YAAY,GAAE,OAAc,GAAG,IAAI;IAY3C,SAAS,CAAC,IAAI,GAAE,OAAc;IAK9B,SAAS,CAAC,QAAQ,EAAE,OAAO;IAiB3B,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,KAAK,GAAE,MAAa;CAkB1D"}
@@ -0,0 +1,79 @@
1
+ import { MeshBuilder } from '@babylonjs/core/Meshes/meshBuilder';
2
+ import { Utilities } from './scenemanager';
3
+ import { Tools } from '@babylonjs/core/Misc/tools';
4
+ export class LinesMeshRenderer {
5
+ get pointMesh() { return this._pointMesh; }
6
+ get linesMesh() { return this._linesMesh; }
7
+ constructor(name, scene, pointType = 0, pointSize = 0.5) {
8
+ this._numPoints = -1;
9
+ this._pointMesh = null;
10
+ this._pointSize = 0.5;
11
+ this._pointType = 0;
12
+ this._linesName = "MeshLines";
13
+ this._linesMesh = null;
14
+ this._babylonScene = null;
15
+ this._pointMesh = null;
16
+ this._linesMesh = null;
17
+ this._linesName = name;
18
+ this._babylonScene = scene;
19
+ this._pointType = pointType;
20
+ this._pointSize = pointSize;
21
+ }
22
+ dispose(doNotRecurse = true) {
23
+ this._babylonScene = null;
24
+ this._linesName = null;
25
+ if (this._pointMesh != null) {
26
+ this._pointMesh.dispose(doNotRecurse);
27
+ this._pointMesh = null;
28
+ }
29
+ if (this._linesMesh != null) {
30
+ this._linesMesh.dispose(doNotRecurse);
31
+ this._linesMesh = null;
32
+ }
33
+ }
34
+ hidePoint(hide = true) {
35
+ if (this._pointMesh != null) {
36
+ this._pointMesh.isVisible = !hide;
37
+ }
38
+ }
39
+ drawPoint(position) {
40
+ if (this._pointMesh == null) {
41
+ if (this._pointType === 1) {
42
+ this._pointMesh = MeshBuilder.CreateBox(this._linesName + ".EndPoint", { size: (this._pointSize * 2) }, this._babylonScene);
43
+ this._pointMesh.renderingGroupId = Utilities.DefaultRenderGroup();
44
+ this._pointMesh.visibility = 0.25;
45
+ }
46
+ else {
47
+ this._pointMesh = MeshBuilder.CreateSphere(this._linesName + ".EndPoint", { segments: 24, diameter: (this._pointSize * 2) }, this._babylonScene);
48
+ this._pointMesh.renderingGroupId = Utilities.DefaultRenderGroup();
49
+ this._pointMesh.visibility = 0.25;
50
+ }
51
+ }
52
+ if (this._pointMesh != null) {
53
+ this._pointMesh.isVisible = true;
54
+ this._pointMesh.position.copyFrom(position);
55
+ }
56
+ }
57
+ drawLine(points, color = null) {
58
+ if (this._linesMesh == null) {
59
+ this._numPoints = points.length;
60
+ this._linesMesh = MeshBuilder.CreateLines(this._linesName, { points: points, updatable: true, }, this._babylonScene);
61
+ this._linesMesh.renderingGroupId = Utilities.DefaultRenderGroup();
62
+ if (color != null)
63
+ this._linesMesh.color = color;
64
+ this._linesMesh.refreshBoundingInfo(false);
65
+ }
66
+ else {
67
+ if (points.length === this._numPoints) {
68
+ this._linesMesh = MeshBuilder.CreateLines(this._linesName, { points: points, instance: this._linesMesh }, this._babylonScene);
69
+ this._linesMesh.renderingGroupId = Utilities.DefaultRenderGroup();
70
+ if (color != null)
71
+ this._linesMesh.color = color;
72
+ this._linesMesh.refreshBoundingInfo(false);
73
+ }
74
+ else {
75
+ Tools.Warn("Dynamic line mesh point count mismatch for " + this._linesName);
76
+ }
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,9 @@
1
+ export declare class LocalMessageBus {
2
+ OnMessage<T>(messageName: string, handler: (data: T) => void): void;
3
+ PostMessage(messageName: string, data?: any): void;
4
+ RemoveHandler(messageName: string, handler: (data: any) => void): void;
5
+ ResetHandlers(): void;
6
+ Dispose(): void;
7
+ private ListenerDictionary;
8
+ }
9
+ //# sourceMappingURL=localmessagebus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"localmessagebus.d.ts","sourceRoot":"","sources":["../src/localmessagebus.ts"],"names":[],"mappings":"AACA,qBAAa,eAAe;IAMb,SAAS,CAAC,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,IAAI;IAgBnE,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,GAAE,GAAU,GAAG,IAAI;IAUxD,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI;IAStE,aAAa,IAAI,IAAI;IAGrB,OAAO,IAAI,IAAI;IAGtB,OAAO,CAAC,kBAAkB,CAA+C;CAC5E"}
@@ -0,0 +1,44 @@
1
+ export class LocalMessageBus {
2
+ constructor() {
3
+ this.ListenerDictionary = {};
4
+ }
5
+ OnMessage(messageName, handler) {
6
+ let listeners;
7
+ if (this.ListenerDictionary[messageName] == null) {
8
+ listeners = [];
9
+ this.ListenerDictionary[messageName] = listeners;
10
+ }
11
+ else {
12
+ listeners = this.ListenerDictionary[messageName];
13
+ }
14
+ const index = listeners.findIndex((e) => { return handler == e; });
15
+ if (index < 0)
16
+ listeners.push(handler);
17
+ }
18
+ PostMessage(messageName, data = null) {
19
+ const listeners = this.ListenerDictionary[messageName];
20
+ if (listeners == null)
21
+ return;
22
+ listeners.forEach((listener) => { try {
23
+ if (listener)
24
+ listener(data);
25
+ }
26
+ catch (e) {
27
+ console.warn(e);
28
+ } });
29
+ }
30
+ RemoveHandler(messageName, handler) {
31
+ const listeners = this.ListenerDictionary[messageName];
32
+ if (listeners == null)
33
+ return;
34
+ const index = listeners.findIndex((e) => { return handler == e; });
35
+ if (index >= 0)
36
+ listeners.splice(index, 1);
37
+ }
38
+ ResetHandlers() {
39
+ this.ListenerDictionary = {};
40
+ }
41
+ Dispose() {
42
+ this.ResetHandlers();
43
+ }
44
+ }
@@ -0,0 +1,13 @@
1
+ import { Scene } from '@babylonjs/core/scene';
2
+ import { Camera } from '@babylonjs/core/Cameras/camera';
3
+ import { Texture } from '@babylonjs/core/Materials/Textures/texture';
4
+ import { PostProcess } from '@babylonjs/core';
5
+ export declare class LUTBlendPlugin {
6
+ static CreatePostProcess(scene: Scene, camera: Camera, options?: {
7
+ lutA?: string | Texture;
8
+ lutB?: string | Texture;
9
+ mix?: number;
10
+ }): PostProcess;
11
+ getWGSLShaderCode(): string;
12
+ }
13
+ //# sourceMappingURL=lutblendplugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lutblendplugin.d.ts","sourceRoot":"","sources":["../src/lutblendplugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,4CAA4C,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,qBAAa,cAAc;WAKL,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;QACpE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QACxB,GAAG,CAAC,EAAE,MAAM,CAAA;KACf;IA8GM,iBAAiB,IAAI,MAAM;CAiDrC"}