@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,2 @@
1
+ export type RandomFn = () => number;
2
+ //# sourceMappingURL=randomfn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"randomfn.d.ts","sourceRoot":"","sources":["../src/randomfn.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ import { Vector3 } from '@babylonjs/core/Maths/math.vector';
2
+ export declare class RaycastHitResult {
3
+ private _hit;
4
+ private _dest;
5
+ private _origin;
6
+ private _hitPoint;
7
+ private _hitNormal;
8
+ private _hitDistance;
9
+ private _collisionObject;
10
+ get hasHit(): boolean;
11
+ get hitPoint(): Vector3;
12
+ get hitNormal(): Vector3;
13
+ get hitDistance(): number;
14
+ get collisionObject(): any;
15
+ get rayDestination(): Vector3;
16
+ get rayOrigin(): Vector3;
17
+ constructor();
18
+ reset(origin: Vector3, destination: Vector3): void;
19
+ update(hit: boolean, pointX: number, pointY: number, pointZ: number, normalX: number, normalY: number, normalZ: number, collisionObject?: any): void;
20
+ }
21
+ //# sourceMappingURL=raycasthitresult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"raycasthitresult.d.ts","sourceRoot":"","sources":["../src/raycasthitresult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAE5D,qBAAa,gBAAgB;IACrB,OAAO,CAAC,IAAI,CAAkB;IAC9B,OAAO,CAAC,KAAK,CAAiC;IAC9C,OAAO,CAAC,OAAO,CAAiC;IAChD,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,UAAU,CAAiC;IACnD,OAAO,CAAC,YAAY,CAAa;IACjC,OAAO,CAAC,gBAAgB,CAAa;IACrC,IAAW,MAAM,IAAI,OAAO,CAAsB;IAClD,IAAW,QAAQ,IAAI,OAAO,CAA2B;IACzD,IAAW,SAAS,IAAI,OAAO,CAA4B;IAC3D,IAAW,WAAW,IAAI,MAAM,CAA8B;IAC9D,IAAW,eAAe,IAAI,GAAG,CAAkC;IACnE,IAAW,cAAc,IAAI,OAAO,CAAuB;IAC3D,IAAW,SAAS,IAAI,OAAO,CAAyB;;IAEjD,KAAK,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI;IASlD,MAAM,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,GAAE,GAAU,GAAG,IAAI;CAOpK"}
@@ -0,0 +1,36 @@
1
+ import { Vector3 } from '@babylonjs/core/Maths/math.vector';
2
+ export class RaycastHitResult {
3
+ get hasHit() { return this._hit; }
4
+ get hitPoint() { return this._hitPoint; }
5
+ get hitNormal() { return this._hitNormal; }
6
+ get hitDistance() { return this._hitDistance; }
7
+ get collisionObject() { return this._collisionObject; }
8
+ get rayDestination() { return this._dest; }
9
+ get rayOrigin() { return this._origin; }
10
+ constructor() {
11
+ this._hit = false;
12
+ this._dest = new Vector3(0, 0, 0);
13
+ this._origin = new Vector3(0, 0, 0);
14
+ this._hitPoint = new Vector3(0, 0, 0);
15
+ this._hitNormal = new Vector3(0, 0, 0);
16
+ this._hitDistance = 0;
17
+ this._collisionObject = null;
18
+ this.reset(Vector3.Zero(), Vector3.Zero());
19
+ }
20
+ reset(origin, destination) {
21
+ this._hit = false;
22
+ this._hitPoint.set(0, 0, 0);
23
+ this._hitNormal.set(0, 0, 0);
24
+ this._hitDistance = 0;
25
+ this._collisionObject = null;
26
+ this._origin.copyFrom(origin);
27
+ this._dest.copyFrom(destination);
28
+ }
29
+ update(hit, pointX, pointY, pointZ, normalX, normalY, normalZ, collisionObject = null) {
30
+ this._hit = hit;
31
+ this._hitPoint.set(pointX, pointY, pointZ);
32
+ this._hitNormal.set(normalX, normalY, normalZ);
33
+ this._hitDistance = Vector3.Distance(this._origin, this.hitPoint);
34
+ this._collisionObject = collisionObject;
35
+ }
36
+ }
@@ -0,0 +1,2 @@
1
+ export type RecastClassCtor<T = any> = new (...args: any[]) => T;
2
+ //# sourceMappingURL=recastclassctor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recastclassctor.d.ts","sourceRoot":"","sources":["../src/recastclassctor.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,GAAG,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare class RoomErrorMessage {
2
+ code: number;
3
+ message: string;
4
+ }
5
+ //# sourceMappingURL=roomerrormessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"roomerrormessage.d.ts","sourceRoot":"","sources":["../src/roomerrormessage.ts"],"names":[],"mappings":"AACA,qBAAa,gBAAgB;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,2 @@
1
+ export class RoomErrorMessage {
2
+ }