@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.
- package/README.md +312 -0
- package/lib/blendtreeposition.d.ts +5 -0
- package/lib/blendtreeposition.d.ts.map +1 -0
- package/lib/blendtreeposition.js +5 -0
- package/lib/channelmixerplugin.d.ts +11 -0
- package/lib/channelmixerplugin.d.ts.map +1 -0
- package/lib/channelmixerplugin.js +34 -0
- package/lib/collisioncontact.d.ts +7 -0
- package/lib/collisioncontact.d.ts.map +1 -0
- package/lib/collisioncontact.js +7 -0
- package/lib/collisionfilters.d.ts +10 -0
- package/lib/collisionfilters.d.ts.map +1 -0
- package/lib/collisionfilters.js +10 -0
- package/lib/collisionflags.d.ts +14 -0
- package/lib/collisionflags.d.ts.map +1 -0
- package/lib/collisionflags.js +14 -0
- package/lib/collisionstate.d.ts +8 -0
- package/lib/collisionstate.d.ts.map +1 -0
- package/lib/collisionstate.js +8 -0
- package/lib/customloadingscreen.d.ts +16 -0
- package/lib/customloadingscreen.d.ts.map +1 -0
- package/lib/customloadingscreen.js +48 -0
- package/lib/entitycontroller.d.ts +11 -0
- package/lib/entitycontroller.d.ts.map +1 -0
- package/lib/entitycontroller.js +41 -0
- package/lib/fontmanifestentry.d.ts +8 -0
- package/lib/fontmanifestentry.d.ts.map +1 -0
- package/lib/fontmanifestentry.js +1 -0
- package/lib/handedness.d.ts +6 -0
- package/lib/handedness.d.ts.map +1 -0
- package/lib/handedness.js +6 -0
- package/lib/ianimationcurve.d.ts +14 -0
- package/lib/ianimationcurve.d.ts.map +1 -0
- package/lib/ianimationcurve.js +1 -0
- package/lib/index.d.ts +94 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +90 -0
- package/lib/intersectionprecision.d.ts +5 -0
- package/lib/intersectionprecision.d.ts.map +1 -0
- package/lib/intersectionprecision.js +5 -0
- package/lib/iparticlesystemtransform.d.ts +9 -0
- package/lib/iparticlesystemtransform.d.ts.map +1 -0
- package/lib/iparticlesystemtransform.js +1 -0
- package/lib/irecastnavigationplugin.d.ts +92 -0
- package/lib/irecastnavigationplugin.d.ts.map +1 -0
- package/lib/irecastnavigationplugin.js +1 -0
- package/lib/linesmeshrenderer.d.ts +22 -0
- package/lib/linesmeshrenderer.d.ts.map +1 -0
- package/lib/linesmeshrenderer.js +79 -0
- package/lib/localmessagebus.d.ts +9 -0
- package/lib/localmessagebus.d.ts.map +1 -0
- package/lib/localmessagebus.js +44 -0
- package/lib/lutblendplugin.d.ts +13 -0
- package/lib/lutblendplugin.d.ts.map +1 -0
- package/lib/lutblendplugin.js +153 -0
- package/lib/mousebuttonmode.d.ts +6 -0
- package/lib/mousebuttonmode.d.ts.map +1 -0
- package/lib/mousebuttonmode.js +6 -0
- package/lib/movementtype.d.ts +5 -0
- package/lib/movementtype.d.ts.map +1 -0
- package/lib/movementtype.js +5 -0
- package/lib/noisefunction2d.d.ts +2 -0
- package/lib/noisefunction2d.d.ts.map +1 -0
- package/lib/noisefunction2d.js +1 -0
- package/lib/noisefunction3d.d.ts +2 -0
- package/lib/noisefunction3d.d.ts.map +1 -0
- package/lib/noisefunction3d.js +1 -0
- package/lib/noisefunction4d.d.ts +2 -0
- package/lib/noisefunction4d.d.ts.map +1 -0
- package/lib/noisefunction4d.js +1 -0
- package/lib/perlin2d.d.ts +9 -0
- package/lib/perlin2d.d.ts.map +1 -0
- package/lib/perlin2d.js +45 -0
- package/lib/playercontrol.d.ts +5 -0
- package/lib/playercontrol.d.ts.map +1 -0
- package/lib/playercontrol.js +5 -0
- package/lib/prefabobjectpool.d.ts +20 -0
- package/lib/prefabobjectpool.d.ts.map +1 -0
- package/lib/prefabobjectpool.js +96 -0
- package/lib/project.d.ts +2283 -0
- package/lib/project.d.ts.map +1 -0
- package/lib/project.js +10497 -0
- package/lib/randomfn.d.ts +2 -0
- package/lib/randomfn.d.ts.map +1 -0
- package/lib/randomfn.js +1 -0
- package/lib/raycasthitresult.d.ts +21 -0
- package/lib/raycasthitresult.d.ts.map +1 -0
- package/lib/raycasthitresult.js +36 -0
- package/lib/recastclassctor.d.ts +2 -0
- package/lib/recastclassctor.d.ts.map +1 -0
- package/lib/recastclassctor.js +1 -0
- package/lib/roomerrormessage.d.ts +5 -0
- package/lib/roomerrormessage.d.ts.map +1 -0
- package/lib/roomerrormessage.js +2 -0
- package/lib/scenemanager.d.ts +4212 -0
- package/lib/scenemanager.d.ts.map +1 -0
- package/lib/scenemanager.js +41292 -0
- package/lib/simplexnoise.d.ts +21 -0
- package/lib/simplexnoise.d.ts.map +1 -0
- package/lib/simplexnoise.js +362 -0
- package/lib/touchjoystickhandler.d.ts +39 -0
- package/lib/touchjoystickhandler.d.ts.map +1 -0
- package/lib/touchjoystickhandler.js +175 -0
- package/lib/touchmousebutton.d.ts +6 -0
- package/lib/touchmousebutton.d.ts.map +1 -0
- package/lib/touchmousebutton.js +6 -0
- package/lib/triggervolume.d.ts +6 -0
- package/lib/triggervolume.d.ts.map +1 -0
- package/lib/triggervolume.js +6 -0
- package/lib/unitydropdownmenu.d.ts +20 -0
- package/lib/unitydropdownmenu.d.ts.map +1 -0
- package/lib/unitydropdownmenu.js +144 -0
- package/lib/unityscrollbar.d.ts +11 -0
- package/lib/unityscrollbar.d.ts.map +1 -0
- package/lib/unityscrollbar.js +38 -0
- package/lib/unityslider.d.ts +4 -0
- package/lib/unityslider.d.ts.map +1 -0
- package/lib/unityslider.js +3 -0
- package/lib/universalcharactercontroller.d.ts +3 -0
- package/lib/universalcharactercontroller.d.ts.map +1 -0
- package/lib/universalcharactercontroller.js +1 -0
- package/lib/userinputpointer.d.ts +6 -0
- package/lib/userinputpointer.d.ts.map +1 -0
- package/lib/userinputpointer.js +6 -0
- package/lib/windowsplatform.d.ts +17 -0
- package/lib/windowsplatform.d.ts.map +1 -0
- package/lib/windowsplatform.js +133 -0
- package/lib/xbox360trigger.d.ts +5 -0
- package/lib/xbox360trigger.d.ts.map +1 -0
- package/lib/xbox360trigger.js +5 -0
- package/package.json +217 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { Button } from '@babylonjs/gui/2D/controls/button';
|
|
2
|
+
import { Container } from '@babylonjs/gui/2D/controls/container';
|
|
3
|
+
import { Control } from '@babylonjs/gui/2D/controls/control';
|
|
4
|
+
import { TextBlock } from '@babylonjs/gui/2D/controls/textBlock';
|
|
5
|
+
import { StackPanel } from '@babylonjs/gui/2D/controls/stackPanel';
|
|
6
|
+
export class UnityDropdownMenu extends Container {
|
|
7
|
+
constructor(name) {
|
|
8
|
+
super(name || "dropdownMenu");
|
|
9
|
+
this._button = null;
|
|
10
|
+
this._popup = null;
|
|
11
|
+
this._options = [];
|
|
12
|
+
this._selectedIndex = 0;
|
|
13
|
+
this.width = "150px";
|
|
14
|
+
this.height = "30px";
|
|
15
|
+
this.thickness = 1;
|
|
16
|
+
this.cornerRadius = 3;
|
|
17
|
+
this.color = "#333333";
|
|
18
|
+
this.background = "transparent";
|
|
19
|
+
console.warn("DropdownMenu is a custom control and may not be fully supported in all environments.");
|
|
20
|
+
this._button = Button.CreateSimpleButton((this.name || "") + "_btn", "");
|
|
21
|
+
this._button.width = "100%";
|
|
22
|
+
this._button.height = "100%";
|
|
23
|
+
this._button.horizontalAlignment = Control.HORIZONTAL_ALIGNMENT_LEFT;
|
|
24
|
+
this._button.verticalAlignment = Control.VERTICAL_ALIGNMENT_CENTER;
|
|
25
|
+
this._button.cornerRadius = 3;
|
|
26
|
+
this._button.thickness = 0;
|
|
27
|
+
this._button.color = "#000000";
|
|
28
|
+
this._button.background = "#ffffff00";
|
|
29
|
+
const textBlock = new TextBlock((this.name || "") + "_label", "");
|
|
30
|
+
textBlock.textHorizontalAlignment = Control.HORIZONTAL_ALIGNMENT_LEFT;
|
|
31
|
+
textBlock.paddingLeft = "8px";
|
|
32
|
+
textBlock.resizeToFit = false;
|
|
33
|
+
textBlock.text = "";
|
|
34
|
+
textBlock.color = "#000000";
|
|
35
|
+
textBlock.fontSize = "14px";
|
|
36
|
+
textBlock.textWrapping = true;
|
|
37
|
+
this._button.addControl(textBlock);
|
|
38
|
+
const arrow = new TextBlock((this.name || "") + "_arrow", "▼");
|
|
39
|
+
arrow.width = "24px";
|
|
40
|
+
arrow.textHorizontalAlignment = Control.HORIZONTAL_ALIGNMENT_CENTER;
|
|
41
|
+
arrow.horizontalAlignment = Control.HORIZONTAL_ALIGNMENT_RIGHT;
|
|
42
|
+
arrow.paddingRight = "6px";
|
|
43
|
+
arrow.color = "#222222";
|
|
44
|
+
this._button.addControl(arrow);
|
|
45
|
+
this._popup = new Container((this.name || "") + "_popup");
|
|
46
|
+
this._popup.width = "150px";
|
|
47
|
+
this._popup.isVisible = false;
|
|
48
|
+
this._popup.background = "#ffffff";
|
|
49
|
+
this._popup.thickness = 1;
|
|
50
|
+
this._popup.cornerRadius = 3;
|
|
51
|
+
this._popup.zIndex = 1000;
|
|
52
|
+
this._popup.verticalAlignment = Control.VERTICAL_ALIGNMENT_TOP;
|
|
53
|
+
const stack = new StackPanel((this.name || "") + "_stack");
|
|
54
|
+
stack.isVertical = true;
|
|
55
|
+
this._popup.addControl(stack);
|
|
56
|
+
this._button.onPointerUpObservable.add(() => {
|
|
57
|
+
if (!this._popup)
|
|
58
|
+
return;
|
|
59
|
+
this._popup.isVisible = !this._popup.isVisible;
|
|
60
|
+
});
|
|
61
|
+
this.addControl(this._button);
|
|
62
|
+
this.addControl(this._popup);
|
|
63
|
+
}
|
|
64
|
+
get selectedIndex() { return this._selectedIndex; }
|
|
65
|
+
set selectedIndex(v) { this._selectedIndex = v; this._updateSelectedText(); }
|
|
66
|
+
set options(opts) {
|
|
67
|
+
this._options = opts || [];
|
|
68
|
+
this._rebuildOptions();
|
|
69
|
+
}
|
|
70
|
+
_updateSelectedText() {
|
|
71
|
+
if (!this._button)
|
|
72
|
+
return;
|
|
73
|
+
const label = this._button.getChildByName((this.name || "") + "_label");
|
|
74
|
+
if (label) {
|
|
75
|
+
const opt = this._options[this._selectedIndex];
|
|
76
|
+
label.text = opt ? opt.text : "";
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
_rebuildOptions() {
|
|
80
|
+
if (!this._popup)
|
|
81
|
+
return;
|
|
82
|
+
this._popup.dispose();
|
|
83
|
+
this._popup = new Container((this.name || "") + "_popup");
|
|
84
|
+
this._popup.width = "150px";
|
|
85
|
+
this._popup.isVisible = false;
|
|
86
|
+
this._popup.background = "#ffffff";
|
|
87
|
+
this._popup.thickness = 1;
|
|
88
|
+
this._popup.cornerRadius = 3;
|
|
89
|
+
this._popup.zIndex = 1000;
|
|
90
|
+
this._popup.verticalAlignment = Control.VERTICAL_ALIGNMENT_TOP;
|
|
91
|
+
const stack = new StackPanel((this.name || "") + "_stack");
|
|
92
|
+
stack.isVertical = true;
|
|
93
|
+
this._popup.addControl(stack);
|
|
94
|
+
for (let i = 0; i < this._options.length; i++) {
|
|
95
|
+
const o = this._options[i];
|
|
96
|
+
const btn = Button.CreateSimpleButton((this.name || "") + "_opt_" + i, o.text || "");
|
|
97
|
+
btn.width = "100%";
|
|
98
|
+
btn.height = "28px";
|
|
99
|
+
btn.thickness = 0;
|
|
100
|
+
btn.cornerRadius = 0;
|
|
101
|
+
btn.color = "#000000";
|
|
102
|
+
btn.horizontalAlignment = Control.HORIZONTAL_ALIGNMENT_LEFT;
|
|
103
|
+
btn.onPointerUpObservable.add(() => {
|
|
104
|
+
this.selectedIndex = i;
|
|
105
|
+
if (this._popup)
|
|
106
|
+
this._popup.isVisible = false;
|
|
107
|
+
this.onSelectionChanged && this.onSelectionChanged(i);
|
|
108
|
+
});
|
|
109
|
+
stack.addControl(btn);
|
|
110
|
+
}
|
|
111
|
+
this.addControl(this._popup);
|
|
112
|
+
this._updateSelectedText();
|
|
113
|
+
}
|
|
114
|
+
serialize() {
|
|
115
|
+
let base = {};
|
|
116
|
+
try {
|
|
117
|
+
const protoSerialize = Container.prototype.serialize;
|
|
118
|
+
if (typeof protoSerialize === 'function')
|
|
119
|
+
base = protoSerialize.call(this) || {};
|
|
120
|
+
}
|
|
121
|
+
catch (e) {
|
|
122
|
+
base = {};
|
|
123
|
+
}
|
|
124
|
+
base = base || {};
|
|
125
|
+
base.className = "UnityDropdownMenu";
|
|
126
|
+
base.options = this._options.map(o => ({ text: o.text, imageSource: o.imageSource }));
|
|
127
|
+
base.selectedIndex = this._selectedIndex;
|
|
128
|
+
return base;
|
|
129
|
+
}
|
|
130
|
+
static Parse(parsedData, adt, urlRewriter) {
|
|
131
|
+
const ctrl = new UnityDropdownMenu(parsedData.name || "dropdownMenu");
|
|
132
|
+
try {
|
|
133
|
+
if (Array.isArray(parsedData.options)) {
|
|
134
|
+
ctrl.options = parsedData.options.map((o) => ({ text: o.text || "", imageSource: o.imageSource }));
|
|
135
|
+
}
|
|
136
|
+
if (typeof parsedData.selectedIndex === 'number')
|
|
137
|
+
ctrl.selectedIndex = parsedData.selectedIndex;
|
|
138
|
+
}
|
|
139
|
+
catch (e) {
|
|
140
|
+
console.warn(e);
|
|
141
|
+
}
|
|
142
|
+
return ctrl;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AdvancedDynamicTexture } from '@babylonjs/gui/2D/advancedDynamicTexture';
|
|
2
|
+
import { ScrollBar } from '@babylonjs/gui/2D/controls/sliders/scrollBar';
|
|
3
|
+
export declare class UnityScrollBar extends ScrollBar {
|
|
4
|
+
private _direction;
|
|
5
|
+
get direction(): string;
|
|
6
|
+
set direction(value: string);
|
|
7
|
+
protected _getThumbPosition(): number;
|
|
8
|
+
serialize(serializationObject: any): void;
|
|
9
|
+
_parseFromContent(serializationObject: any, host: AdvancedDynamicTexture): void;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=unityscrollbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unityscrollbar.d.ts","sourceRoot":"","sources":["../src/unityscrollbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAEzE,qBAAa,cAAe,SAAQ,SAAS;IACrC,OAAO,CAAC,UAAU,CAAyB;IAE3C,IAAW,SAAS,IAAI,MAAM,CAE7B;IAED,IAAW,SAAS,CAAC,KAAK,EAAE,MAAM,EAGjC;IAED,SAAS,CAAC,iBAAiB,IAAI,MAAM;IAkBrB,SAAS,CAAC,mBAAmB,EAAE,GAAG;IAKlC,iBAAiB,CAAC,mBAAmB,EAAE,GAAG,EAAE,IAAI,EAAE,sBAAsB;CAM3F"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ScrollBar } from '@babylonjs/gui/2D/controls/sliders/scrollBar';
|
|
2
|
+
export class UnityScrollBar extends ScrollBar {
|
|
3
|
+
constructor() {
|
|
4
|
+
super(...arguments);
|
|
5
|
+
this._direction = "LeftToRight";
|
|
6
|
+
}
|
|
7
|
+
get direction() {
|
|
8
|
+
return this._direction;
|
|
9
|
+
}
|
|
10
|
+
set direction(value) {
|
|
11
|
+
this._direction = value;
|
|
12
|
+
this._markAsDirty();
|
|
13
|
+
}
|
|
14
|
+
_getThumbPosition() {
|
|
15
|
+
const normalizedValue = (this.value - this.minimum) / (this.maximum - this.minimum);
|
|
16
|
+
const maxPosition = this.isVertical ?
|
|
17
|
+
this._currentMeasure.height - this._effectiveThumbThickness :
|
|
18
|
+
this._currentMeasure.width - this._effectiveThumbThickness;
|
|
19
|
+
let position = normalizedValue * maxPosition;
|
|
20
|
+
if (this._direction === "RightToLeft" && !this.isVertical) {
|
|
21
|
+
position = maxPosition - position;
|
|
22
|
+
}
|
|
23
|
+
else if (this._direction === "TopToBottom" && this.isVertical) {
|
|
24
|
+
position = maxPosition - position;
|
|
25
|
+
}
|
|
26
|
+
return position;
|
|
27
|
+
}
|
|
28
|
+
serialize(serializationObject) {
|
|
29
|
+
super.serialize(serializationObject);
|
|
30
|
+
serializationObject.direction = this._direction;
|
|
31
|
+
}
|
|
32
|
+
_parseFromContent(serializationObject, host) {
|
|
33
|
+
super._parseFromContent(serializationObject, host);
|
|
34
|
+
if (serializationObject.direction) {
|
|
35
|
+
this._direction = serializationObject.direction;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unityslider.d.ts","sourceRoot":"","sources":["../src/unityslider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAEnE,qBAAa,WAAY,SAAQ,MAAM;CAElC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SimpleCharacterController, RecastCharacterController, CharacterController } from './scenemanager';
|
|
2
|
+
export type UniversalCharacterController = CharacterController | SimpleCharacterController | RecastCharacterController;
|
|
3
|
+
//# sourceMappingURL=universalcharactercontroller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"universalcharactercontroller.d.ts","sourceRoot":"","sources":["../src/universalcharactercontroller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE3G,MAAM,MAAM,4BAA4B,GAAG,mBAAmB,GAAG,yBAAyB,GAAG,yBAAyB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userinputpointer.d.ts","sourceRoot":"","sources":["../src/userinputpointer.ts"],"names":[],"mappings":"AACA,oBAAY,gBAAgB;IACpB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,KAAK,IAAI;CACZ"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var UserInputPointer;
|
|
2
|
+
(function (UserInputPointer) {
|
|
3
|
+
UserInputPointer[UserInputPointer["Left"] = 0] = "Left";
|
|
4
|
+
UserInputPointer[UserInputPointer["Middle"] = 1] = "Middle";
|
|
5
|
+
UserInputPointer[UserInputPointer["Right"] = 2] = "Right";
|
|
6
|
+
})(UserInputPointer || (UserInputPointer = {}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PlayerNumber } from './scenemanager';
|
|
2
|
+
export declare class WindowsPlatform {
|
|
3
|
+
static IsXboxLiveUserSignedIn(systemUser?: Windows.System.User, player?: PlayerNumber): boolean;
|
|
4
|
+
static XboxLiveUserSignIn(player?: PlayerNumber, oncomplete?: (result: Microsoft.Xbox.Services.System.SignInResult) => void, onerror?: (error: any) => void, onprogress?: (progress: any) => void): void;
|
|
5
|
+
static XboxLiveUserSilentSignIn(player?: PlayerNumber, oncomplete?: (result: Microsoft.Xbox.Services.System.SignInResult) => void, onerror?: (error: any) => void, onprogress?: (progress: any) => void): Windows.Foundation.Projections.Promise<void>;
|
|
6
|
+
static XboxLiveUserDialogSignIn(player?: PlayerNumber, oncomplete?: (result: Microsoft.Xbox.Services.System.SignInResult) => void, onerror?: (error: any) => void, onprogress?: (progress: any) => void): Windows.Foundation.Projections.Promise<void>;
|
|
7
|
+
static LoadXboxLiveUserProfile(player?: PlayerNumber, oncomplete?: (result: Microsoft.Xbox.Services.Social.XboxUserProfile) => void, onerror?: (error: any) => void, onprogress?: (progress: any) => void): Windows.Foundation.Projections.Promise<void>;
|
|
8
|
+
static GetXboxLiveUser(player?: PlayerNumber): Microsoft.Xbox.Services.System.XboxLiveUser;
|
|
9
|
+
static GetXboxLiveSystemUser(systemUser: Windows.System.User, player?: PlayerNumber): Microsoft.Xbox.Services.System.XboxLiveUser;
|
|
10
|
+
static GetXboxLiveUserContext(player?: PlayerNumber): Microsoft.Xbox.Services.XboxLiveContext;
|
|
11
|
+
static ResetXboxLiveUserContext(player?: PlayerNumber): void;
|
|
12
|
+
static GetXboxLiveContextProperty(name: any): any;
|
|
13
|
+
static SetXboxLiveContextProperty(name: any, property: any): void;
|
|
14
|
+
static ResetXboxLivePropertyContexts(): void;
|
|
15
|
+
static SetXboxLiveSignOutHandler(handler?: (result: Microsoft.Xbox.Services.System.SignOutCompletedEventArgs) => void): void;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=windowsplatform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"windowsplatform.d.ts","sourceRoot":"","sources":["../src/windowsplatform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAyB,MAAM,gBAAgB,CAAC;AAGrE,qBAAa,eAAe;WAEN,sBAAsB,CAAC,UAAU,GAAE,OAAO,CAAC,MAAM,CAAC,IAAW,EAAE,MAAM,GAAE,YAA+B,GAAG,OAAO;WAShH,kBAAkB,CAAC,MAAM,GAAE,YAA+B,EAAE,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,GAAG,IAAI;WAcnN,wBAAwB,CAAC,MAAM,GAAE,YAA+B,EAAE,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC;WAIjQ,wBAAwB,CAAC,MAAM,GAAE,YAA+B,EAAE,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC;WAIjQ,uBAAuB,CAAC,MAAM,GAAE,YAA+B,EAAE,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,eAAe,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,CAAC;WASnQ,eAAe,CAAC,MAAM,GAAE,YAA+B,GAAG,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY;WAqBrG,qBAAqB,CAAC,UAAU,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,GAAE,YAA+B,GAAG,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY;WAqB5I,sBAAsB,CAAC,MAAM,GAAE,YAA+B,GAAG,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe;WAqBxG,wBAAwB,CAAC,MAAM,GAAE,YAA+B,GAAG,IAAI;WAwBvE,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG;WAI1C,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,GAAG,IAAI;WAM1D,6BAA6B,IAAI,IAAI;WAWrC,yBAAyB,CAAC,OAAO,GAAE,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,yBAAyB,KAAK,IAAW,GAAG,IAAI;CAK5I"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { PlayerNumber, WindowManager } from './scenemanager';
|
|
2
|
+
export class WindowsPlatform {
|
|
3
|
+
static IsXboxLiveUserSignedIn(systemUser = null, player = PlayerNumber.One) {
|
|
4
|
+
if (WindowManager.IsWindows()) {
|
|
5
|
+
let user = (systemUser != null) ? WindowsPlatform.GetXboxLiveSystemUser(systemUser, player) : WindowsPlatform.GetXboxLiveUser(player);
|
|
6
|
+
return (user != null && user.isSignedIn == true);
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
static XboxLiveUserSignIn(player = PlayerNumber.One, oncomplete, onerror, onprogress) {
|
|
13
|
+
if (WindowManager.IsWindows()) {
|
|
14
|
+
WindowsPlatform.XboxLiveUserSilentSignIn(player, (first) => {
|
|
15
|
+
if (first.status === Microsoft.Xbox.Services.System.SignInStatus.userInteractionRequired) {
|
|
16
|
+
WindowsPlatform.XboxLiveUserDialogSignIn(player, (second) => {
|
|
17
|
+
if (oncomplete)
|
|
18
|
+
oncomplete(second);
|
|
19
|
+
}, onerror, onprogress);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
if (oncomplete)
|
|
23
|
+
oncomplete(first);
|
|
24
|
+
}
|
|
25
|
+
}, onerror, onprogress);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
static XboxLiveUserSilentSignIn(player = PlayerNumber.One, oncomplete, onerror, onprogress) {
|
|
29
|
+
return (WindowManager.IsWindows()) ? WindowsPlatform.GetXboxLiveUser(player).signInSilentlyAsync(null).then(oncomplete, onerror, onprogress) : null;
|
|
30
|
+
}
|
|
31
|
+
static XboxLiveUserDialogSignIn(player = PlayerNumber.One, oncomplete, onerror, onprogress) {
|
|
32
|
+
return (WindowManager.IsWindows()) ? WindowsPlatform.GetXboxLiveUser(player).signInAsync(null).then(oncomplete, onerror, onprogress) : null;
|
|
33
|
+
}
|
|
34
|
+
static LoadXboxLiveUserProfile(player = PlayerNumber.One, oncomplete, onerror, onprogress) {
|
|
35
|
+
return (WindowManager.IsWindows()) ? WindowsPlatform.GetXboxLiveUserContext(player).profileService.getUserProfileAsync(WindowsPlatform.GetXboxLiveUser(player).xboxUserId).then(oncomplete, onerror, onprogress) : null;
|
|
36
|
+
}
|
|
37
|
+
static GetXboxLiveUser(player = PlayerNumber.One) {
|
|
38
|
+
let user = null;
|
|
39
|
+
if (WindowManager.IsWindows()) {
|
|
40
|
+
switch (player) {
|
|
41
|
+
case PlayerNumber.One:
|
|
42
|
+
user = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveUserOne();
|
|
43
|
+
break;
|
|
44
|
+
case PlayerNumber.Two:
|
|
45
|
+
user = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveUserTwo();
|
|
46
|
+
break;
|
|
47
|
+
case PlayerNumber.Three:
|
|
48
|
+
user = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveUserThree();
|
|
49
|
+
break;
|
|
50
|
+
case PlayerNumber.Four:
|
|
51
|
+
user = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveUserFour();
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return user;
|
|
56
|
+
}
|
|
57
|
+
static GetXboxLiveSystemUser(systemUser, player = PlayerNumber.One) {
|
|
58
|
+
let user = null;
|
|
59
|
+
if (WindowManager.IsWindows()) {
|
|
60
|
+
switch (player) {
|
|
61
|
+
case PlayerNumber.One:
|
|
62
|
+
user = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveSystemUserOne(systemUser);
|
|
63
|
+
break;
|
|
64
|
+
case PlayerNumber.Two:
|
|
65
|
+
user = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveSystemUserTwo(systemUser);
|
|
66
|
+
break;
|
|
67
|
+
case PlayerNumber.Three:
|
|
68
|
+
user = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveSystemUserThree(systemUser);
|
|
69
|
+
break;
|
|
70
|
+
case PlayerNumber.Four:
|
|
71
|
+
user = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveSystemUserFour(systemUser);
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return user;
|
|
76
|
+
}
|
|
77
|
+
static GetXboxLiveUserContext(player = PlayerNumber.One) {
|
|
78
|
+
let context = null;
|
|
79
|
+
if (WindowManager.IsWindows()) {
|
|
80
|
+
switch (player) {
|
|
81
|
+
case PlayerNumber.One:
|
|
82
|
+
context = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveContextOne();
|
|
83
|
+
break;
|
|
84
|
+
case PlayerNumber.Two:
|
|
85
|
+
context = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveContextTwo();
|
|
86
|
+
break;
|
|
87
|
+
case PlayerNumber.Three:
|
|
88
|
+
context = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveContextThree();
|
|
89
|
+
break;
|
|
90
|
+
case PlayerNumber.Four:
|
|
91
|
+
context = window.BabylonToolkit.XboxLive.Plugin.getXboxLiveContextFour();
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return context;
|
|
96
|
+
}
|
|
97
|
+
static ResetXboxLiveUserContext(player = PlayerNumber.One) {
|
|
98
|
+
if (WindowManager.IsWindows()) {
|
|
99
|
+
switch (player) {
|
|
100
|
+
case PlayerNumber.One:
|
|
101
|
+
window.BabylonToolkit.XboxLive.Plugin.resetXboxLiveUserContextOne();
|
|
102
|
+
break;
|
|
103
|
+
case PlayerNumber.Two:
|
|
104
|
+
window.BabylonToolkit.XboxLive.Plugin.resetXboxLiveUserContextTwo();
|
|
105
|
+
break;
|
|
106
|
+
case PlayerNumber.Three:
|
|
107
|
+
window.BabylonToolkit.XboxLive.Plugin.resetXboxLiveUserContextThree();
|
|
108
|
+
break;
|
|
109
|
+
case PlayerNumber.Four:
|
|
110
|
+
window.BabylonToolkit.XboxLive.Plugin.resetXboxLiveUserContextFour();
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
static GetXboxLiveContextProperty(name) {
|
|
116
|
+
return (WindowManager.IsWindows()) ? window.BabylonToolkit.XboxLive.Plugin.getXboxLiveContextProperty(name) : null;
|
|
117
|
+
}
|
|
118
|
+
static SetXboxLiveContextProperty(name, property) {
|
|
119
|
+
if (WindowManager.IsWindows()) {
|
|
120
|
+
window.BabylonToolkit.XboxLive.Plugin.setXboxLiveContextProperty(name, property);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
static ResetXboxLivePropertyContexts() {
|
|
124
|
+
if (WindowManager.IsWindows()) {
|
|
125
|
+
window.BabylonToolkit.XboxLive.Plugin.resetXboxLivePropertyContexts();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
static SetXboxLiveSignOutHandler(handler = null) {
|
|
129
|
+
if (WindowManager.IsWindows()) {
|
|
130
|
+
window.BabylonToolkit.XboxLive.Plugin.onusersignout = handler;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xbox360trigger.d.ts","sourceRoot":"","sources":["../src/xbox360trigger.ts"],"names":[],"mappings":"AACA,oBAAY,cAAc;IAClB,IAAI,IAAI;IACR,KAAK,IAAI;CACZ"}
|
package/package.json
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@babylonjs-toolkit/next",
|
|
3
|
+
"version": "9.10.1",
|
|
4
|
+
"description": "Babylon Toolkit Runtime Library (ES6)",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./lib/index.js",
|
|
13
|
+
"types": "./lib/index.d.ts"
|
|
14
|
+
},
|
|
15
|
+
"./scenemanager": {
|
|
16
|
+
"import": "./lib/scenemanager.js",
|
|
17
|
+
"types": "./lib/scenemanager.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./shurikenparticles": {
|
|
20
|
+
"import": "./lib/shurikenparticles.js",
|
|
21
|
+
"types": "./lib/shurikenparticles.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./terraingenerator": {
|
|
24
|
+
"import": "./lib/terraingenerator.js",
|
|
25
|
+
"types": "./lib/terraingenerator.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./charactercontroller": {
|
|
28
|
+
"import": "./lib/charactercontroller.js",
|
|
29
|
+
"types": "./lib/charactercontroller.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./webvideoplayer": {
|
|
32
|
+
"import": "./lib/webvideoplayer.js",
|
|
33
|
+
"types": "./lib/webvideoplayer.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./handedness": {
|
|
36
|
+
"import": "./lib/handedness.js",
|
|
37
|
+
"types": "./lib/handedness.d.ts"
|
|
38
|
+
},
|
|
39
|
+
"./movementtype": {
|
|
40
|
+
"import": "./lib/movementtype.js",
|
|
41
|
+
"types": "./lib/movementtype.d.ts"
|
|
42
|
+
},
|
|
43
|
+
"./customloadingscreen": {
|
|
44
|
+
"import": "./lib/customloadingscreen.js",
|
|
45
|
+
"types": "./lib/customloadingscreen.d.ts"
|
|
46
|
+
},
|
|
47
|
+
"./blendtreeposition": {
|
|
48
|
+
"import": "./lib/blendtreeposition.js",
|
|
49
|
+
"types": "./lib/blendtreeposition.d.ts"
|
|
50
|
+
},
|
|
51
|
+
"./collisioncontact": {
|
|
52
|
+
"import": "./lib/collisioncontact.js",
|
|
53
|
+
"types": "./lib/collisioncontact.d.ts"
|
|
54
|
+
},
|
|
55
|
+
"./collisionfilters": {
|
|
56
|
+
"import": "./lib/collisionfilters.js",
|
|
57
|
+
"types": "./lib/collisionfilters.d.ts"
|
|
58
|
+
},
|
|
59
|
+
"./collisionflags": {
|
|
60
|
+
"import": "./lib/collisionflags.js",
|
|
61
|
+
"types": "./lib/collisionflags.d.ts"
|
|
62
|
+
},
|
|
63
|
+
"./collisionstate": {
|
|
64
|
+
"import": "./lib/collisionstate.js",
|
|
65
|
+
"types": "./lib/collisionstate.d.ts"
|
|
66
|
+
},
|
|
67
|
+
"./customshadermaterial": {
|
|
68
|
+
"import": "./lib/customshadermaterial.js",
|
|
69
|
+
"types": "./lib/customshadermaterial.d.ts"
|
|
70
|
+
},
|
|
71
|
+
"./customshadermaterialplugin": {
|
|
72
|
+
"import": "./lib/customshadermaterialplugin.js",
|
|
73
|
+
"types": "./lib/customshadermaterialplugin.d.ts"
|
|
74
|
+
},
|
|
75
|
+
"./entitycontroller": {
|
|
76
|
+
"import": "./lib/entitycontroller.js",
|
|
77
|
+
"types": "./lib/entitycontroller.d.ts"
|
|
78
|
+
},
|
|
79
|
+
"./ianimationcurve": {
|
|
80
|
+
"import": "./lib/ianimationcurve.js",
|
|
81
|
+
"types": "./lib/ianimationcurve.d.ts"
|
|
82
|
+
},
|
|
83
|
+
"./intersectionprecision": {
|
|
84
|
+
"import": "./lib/intersectionprecision.js",
|
|
85
|
+
"types": "./lib/intersectionprecision.d.ts"
|
|
86
|
+
},
|
|
87
|
+
"./linesmeshrenderer": {
|
|
88
|
+
"import": "./lib/linesmeshrenderer.js",
|
|
89
|
+
"types": "./lib/linesmeshrenderer.d.ts"
|
|
90
|
+
},
|
|
91
|
+
"./localmessagebus": {
|
|
92
|
+
"import": "./lib/localmessagebus.js",
|
|
93
|
+
"types": "./lib/localmessagebus.d.ts"
|
|
94
|
+
},
|
|
95
|
+
"./mousebuttonmode": {
|
|
96
|
+
"import": "./lib/mousebuttonmode.js",
|
|
97
|
+
"types": "./lib/mousebuttonmode.d.ts"
|
|
98
|
+
},
|
|
99
|
+
"./playercontrol": {
|
|
100
|
+
"import": "./lib/playercontrol.js",
|
|
101
|
+
"types": "./lib/playercontrol.d.ts"
|
|
102
|
+
},
|
|
103
|
+
"./prefabobjectpool": {
|
|
104
|
+
"import": "./lib/prefabobjectpool.js",
|
|
105
|
+
"types": "./lib/prefabobjectpool.d.ts"
|
|
106
|
+
},
|
|
107
|
+
"./raycasthitresult": {
|
|
108
|
+
"import": "./lib/raycasthitresult.js",
|
|
109
|
+
"types": "./lib/raycasthitresult.d.ts"
|
|
110
|
+
},
|
|
111
|
+
"./recastcharactercontroller": {
|
|
112
|
+
"import": "./lib/recastcharactercontroller.js",
|
|
113
|
+
"types": "./lib/recastcharactercontroller.d.ts"
|
|
114
|
+
},
|
|
115
|
+
"./roomerrormessage": {
|
|
116
|
+
"import": "./lib/roomerrormessage.js",
|
|
117
|
+
"types": "./lib/roomerrormessage.d.ts"
|
|
118
|
+
},
|
|
119
|
+
"./simplecharactercontroller": {
|
|
120
|
+
"import": "./lib/simplecharactercontroller.js",
|
|
121
|
+
"types": "./lib/simplecharactercontroller.d.ts"
|
|
122
|
+
},
|
|
123
|
+
"./touchjoystickhandler": {
|
|
124
|
+
"import": "./lib/touchjoystickhandler.js",
|
|
125
|
+
"types": "./lib/touchjoystickhandler.d.ts"
|
|
126
|
+
},
|
|
127
|
+
"./touchmousebutton": {
|
|
128
|
+
"import": "./lib/touchmousebutton.js",
|
|
129
|
+
"types": "./lib/touchmousebutton.d.ts"
|
|
130
|
+
},
|
|
131
|
+
"./triggervolume": {
|
|
132
|
+
"import": "./lib/triggervolume.js",
|
|
133
|
+
"types": "./lib/triggervolume.d.ts"
|
|
134
|
+
},
|
|
135
|
+
"./universalcharactercontroller": {
|
|
136
|
+
"import": "./lib/universalcharactercontroller.js",
|
|
137
|
+
"types": "./lib/universalcharactercontroller.d.ts"
|
|
138
|
+
},
|
|
139
|
+
"./universalterrainmaterial": {
|
|
140
|
+
"import": "./lib/universalterrainmaterial.js",
|
|
141
|
+
"types": "./lib/universalterrainmaterial.d.ts"
|
|
142
|
+
},
|
|
143
|
+
"./userinputpointer": {
|
|
144
|
+
"import": "./lib/userinputpointer.js",
|
|
145
|
+
"types": "./lib/userinputpointer.d.ts"
|
|
146
|
+
},
|
|
147
|
+
"./xbox360trigger": {
|
|
148
|
+
"import": "./lib/xbox360trigger.js",
|
|
149
|
+
"types": "./lib/xbox360trigger.d.ts"
|
|
150
|
+
},
|
|
151
|
+
"./noisefunction2d": {
|
|
152
|
+
"import": "./lib/noisefunction2d.js",
|
|
153
|
+
"types": "./lib/noisefunction2d.d.ts"
|
|
154
|
+
},
|
|
155
|
+
"./noisefunction3d": {
|
|
156
|
+
"import": "./lib/noisefunction3d.js",
|
|
157
|
+
"types": "./lib/noisefunction3d.d.ts"
|
|
158
|
+
},
|
|
159
|
+
"./noisefunction4d": {
|
|
160
|
+
"import": "./lib/noisefunction4d.js",
|
|
161
|
+
"types": "./lib/noisefunction4d.d.ts"
|
|
162
|
+
},
|
|
163
|
+
"./simplexnoise": {
|
|
164
|
+
"import": "./lib/simplexnoise.js",
|
|
165
|
+
"types": "./lib/simplexnoise.d.ts"
|
|
166
|
+
},
|
|
167
|
+
"./randomfn": {
|
|
168
|
+
"import": "./lib/randomfn.js",
|
|
169
|
+
"types": "./lib/randomfn.d.ts"
|
|
170
|
+
},
|
|
171
|
+
"./project": {
|
|
172
|
+
"import": "./lib/project.js",
|
|
173
|
+
"types": "./lib/project.d.ts"
|
|
174
|
+
},
|
|
175
|
+
"./package.json": "./package.json"
|
|
176
|
+
},
|
|
177
|
+
"scripts": {
|
|
178
|
+
"clean": "rimraf lib",
|
|
179
|
+
"build": "npm run build-all",
|
|
180
|
+
"build-ts": "tsc",
|
|
181
|
+
"build-all": "npm run clean && npm run build-ts"
|
|
182
|
+
},
|
|
183
|
+
"keywords": [
|
|
184
|
+
"babylonjs",
|
|
185
|
+
"babylontoolkit",
|
|
186
|
+
"development",
|
|
187
|
+
"games",
|
|
188
|
+
"unity",
|
|
189
|
+
"webgl",
|
|
190
|
+
"gltf"
|
|
191
|
+
],
|
|
192
|
+
"files": [
|
|
193
|
+
"README.md",
|
|
194
|
+
"package.json",
|
|
195
|
+
"lib/**/*"
|
|
196
|
+
],
|
|
197
|
+
"devDependencies": {
|
|
198
|
+
"@babylonjs/core": "^9.10.1",
|
|
199
|
+
"@babylonjs/gui": "^9.10.1",
|
|
200
|
+
"@babylonjs/havok": "^1.3.10",
|
|
201
|
+
"@babylonjs/addons": "^9.10.1",
|
|
202
|
+
"@babylonjs/loaders": "^9.10.1",
|
|
203
|
+
"@babylonjs/materials": "^9.10.1",
|
|
204
|
+
"@babylonjs/inspector": "^9.10.1",
|
|
205
|
+
"rimraf": "^6.0.1",
|
|
206
|
+
"typescript": "^6.0.3"
|
|
207
|
+
},
|
|
208
|
+
"peerDependencies": {
|
|
209
|
+
"@babylonjs/core": "^9.10.1",
|
|
210
|
+
"@babylonjs/gui": "^9.10.1",
|
|
211
|
+
"@babylonjs/havok": "^1.3.10",
|
|
212
|
+
"@babylonjs/addons": "^9.10.1",
|
|
213
|
+
"@babylonjs/loaders": "^9.10.1",
|
|
214
|
+
"@babylonjs/materials": "^9.10.1",
|
|
215
|
+
"@babylonjs/inspector": "^9.10.1"
|
|
216
|
+
}
|
|
217
|
+
}
|