@awayjs/scene 0.13.258 → 0.13.260
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/bundle/awayjs-scene.umd.js +3 -18334
- package/bundle/awayjs-scene.umd.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/Scene.js +14 -14
- package/dist/lib/adapters/IDisplayObjectAdapter.js +1 -0
- package/dist/lib/adapters/IFilter.js +1 -0
- package/dist/lib/adapters/IMovieClipAdapter.js +1 -0
- package/dist/lib/adapters/ITextfieldAdapter.js +1 -0
- package/dist/lib/base/IBitmapDrawable.js +1 -0
- package/dist/lib/base/IFrameLabel.js +1 -0
- package/dist/lib/base/IFrameScript.js +1 -0
- package/dist/lib/base/MouseButtons.js +1 -0
- package/dist/lib/base/Timeline.d.ts +1 -1
- package/dist/lib/base/Timeline.d.ts.map +1 -1
- package/dist/lib/base/Timeline.js +17 -17
- package/dist/lib/base/TimelineActionType.js +1 -0
- package/dist/lib/controllers/ControllerBase.js +2 -2
- package/dist/lib/controllers/FirstPersonController.js +6 -6
- package/dist/lib/controllers/HoverController.js +10 -10
- package/dist/lib/controllers/LookAtController.js +2 -2
- package/dist/lib/display/Billboard.js +11 -10
- package/dist/lib/display/Camera.js +2 -2
- package/dist/lib/display/DisplayObject.js +46 -46
- package/dist/lib/display/DisplayObjectContainer.js +3 -3
- package/dist/lib/display/LineSegment.js +4 -4
- package/dist/lib/display/LoaderContainer.js +2 -2
- package/dist/lib/display/MorphSprite.js +1 -1
- package/dist/lib/display/MovieClip.d.ts.map +1 -1
- package/dist/lib/display/MovieClip.js +18 -18
- package/dist/lib/display/SimpleButton.js +8 -8
- package/dist/lib/display/Skybox.js +5 -5
- package/dist/lib/display/Sprite.js +2 -2
- package/dist/lib/display/TextField.js +45 -45
- package/dist/lib/elements/SkyboxElements.js +1 -1
- package/dist/lib/events/CameraEvent.js +1 -1
- package/dist/lib/events/KeyboardEvent.js +2 -2
- package/dist/lib/events/MouseEvent.js +3 -3
- package/dist/lib/events/ResizeEvent.js +2 -2
- package/dist/lib/factories/ISceneGraphFactory.js +1 -0
- package/dist/lib/image/SceneImage2D.js +3 -3
- package/dist/lib/managers/DeviceFontManager.js +6 -6
- package/dist/lib/managers/IInputRecorder.js +1 -0
- package/dist/lib/managers/MouseManager.js +11 -12
- package/dist/lib/prefabs/PrimitiveCapsulePrefab.js +5 -5
- package/dist/lib/prefabs/PrimitiveConePrefab.js +1 -1
- package/dist/lib/prefabs/PrimitiveCubePrefab.js +7 -7
- package/dist/lib/prefabs/PrimitiveCylinderPrefab.js +8 -8
- package/dist/lib/prefabs/PrimitivePlanePrefab.js +6 -6
- package/dist/lib/prefabs/PrimitivePolygonPrefab.js +3 -3
- package/dist/lib/prefabs/PrimitivePrefabBase.js +5 -5
- package/dist/lib/prefabs/PrimitiveSpherePrefab.js +4 -4
- package/dist/lib/prefabs/PrimitiveTorusPrefab.js +5 -5
- package/dist/lib/text/BitmapFontTable.js +7 -7
- package/dist/lib/text/Font.js +4 -4
- package/dist/lib/text/IFontTable.js +1 -0
- package/dist/lib/text/TesselatedFontTable.js +20 -11
- package/dist/lib/text/TextFormat.js +18 -18
- package/dist/lib/text/TextShape.js +3 -3
- package/dist/lib/tools/Merge.js +3 -3
- package/dist/lib/utils/Cast.js +3 -3
- package/index.ts +1 -1
- package/lib/display/MovieClip.ts +2 -2
- package/package.json +10 -10
- package/rollup.config.js +30 -29
- package/bundle/awayjs-scene.umd.min.js +0 -1
- package/bundle/awayjs-scene.umd.min.js.map +0 -1
|
@@ -314,7 +314,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
314
314
|
set: function (value) {
|
|
315
315
|
this._tabEnabled = value;
|
|
316
316
|
},
|
|
317
|
-
enumerable:
|
|
317
|
+
enumerable: false,
|
|
318
318
|
configurable: true
|
|
319
319
|
});
|
|
320
320
|
Object.defineProperty(DisplayObject.prototype, "tabIndex", {
|
|
@@ -324,7 +324,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
324
324
|
set: function (value) {
|
|
325
325
|
this._tabIndex = value;
|
|
326
326
|
},
|
|
327
|
-
enumerable:
|
|
327
|
+
enumerable: false,
|
|
328
328
|
configurable: true
|
|
329
329
|
});
|
|
330
330
|
Object.defineProperty(DisplayObject.prototype, "isInFocus", {
|
|
@@ -334,7 +334,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
334
334
|
set: function (value) {
|
|
335
335
|
this._isInFocus = value;
|
|
336
336
|
},
|
|
337
|
-
enumerable:
|
|
337
|
+
enumerable: false,
|
|
338
338
|
configurable: true
|
|
339
339
|
});
|
|
340
340
|
DisplayObject.prototype.setFocus = function (value, fromMouseDown, sendSoftKeyEvent) {
|
|
@@ -357,7 +357,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
357
357
|
this._alignmentMode = value;
|
|
358
358
|
this._invalidateHierarchicalProperty(HierarchicalProperty.SCENE_TRANSFORM);
|
|
359
359
|
},
|
|
360
|
-
enumerable:
|
|
360
|
+
enumerable: false,
|
|
361
361
|
configurable: true
|
|
362
362
|
});
|
|
363
363
|
Object.defineProperty(DisplayObject.prototype, "alpha", {
|
|
@@ -374,7 +374,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
374
374
|
this._transform.colorTransform.alphaMultiplier = value;
|
|
375
375
|
this._transform.invalidateColorTransform();
|
|
376
376
|
},
|
|
377
|
-
enumerable:
|
|
377
|
+
enumerable: false,
|
|
378
378
|
configurable: true
|
|
379
379
|
});
|
|
380
380
|
Object.defineProperty(DisplayObject.prototype, "blendMode", {
|
|
@@ -396,7 +396,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
396
396
|
this._transform.invalidateColorTransform();
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
|
-
enumerable:
|
|
399
|
+
enumerable: false,
|
|
400
400
|
configurable: true
|
|
401
401
|
});
|
|
402
402
|
Object.defineProperty(DisplayObject.prototype, "defaultBoundingVolume", {
|
|
@@ -416,7 +416,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
416
416
|
}
|
|
417
417
|
this.invalidate();
|
|
418
418
|
},
|
|
419
|
-
enumerable:
|
|
419
|
+
enumerable: false,
|
|
420
420
|
configurable: true
|
|
421
421
|
});
|
|
422
422
|
Object.defineProperty(DisplayObject.prototype, "cacheAsBitmap", {
|
|
@@ -434,7 +434,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
434
434
|
'You can disable it by `Settings.USE_UNSAFE_CACHE_AS_BITMAP = false`', this.id);
|
|
435
435
|
this._bitmapCache = v;
|
|
436
436
|
},
|
|
437
|
-
enumerable:
|
|
437
|
+
enumerable: false,
|
|
438
438
|
configurable: true
|
|
439
439
|
});
|
|
440
440
|
Object.defineProperty(DisplayObject.prototype, "eulers", {
|
|
@@ -458,7 +458,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
458
458
|
this._transform.rotation.z = value.z;
|
|
459
459
|
this._transform.invalidateMatrix3D();
|
|
460
460
|
},
|
|
461
|
-
enumerable:
|
|
461
|
+
enumerable: false,
|
|
462
462
|
configurable: true
|
|
463
463
|
});
|
|
464
464
|
Object.defineProperty(DisplayObject.prototype, "filters", {
|
|
@@ -472,7 +472,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
472
472
|
this._filters = v;
|
|
473
473
|
this._invalidateStyle();
|
|
474
474
|
},
|
|
475
|
-
enumerable:
|
|
475
|
+
enumerable: false,
|
|
476
476
|
configurable: true
|
|
477
477
|
});
|
|
478
478
|
DisplayObject.prototype.updateFilters = function (_newFilters) {
|
|
@@ -492,7 +492,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
492
492
|
return this._parent.getChildIndex(this);
|
|
493
493
|
return 0;
|
|
494
494
|
},
|
|
495
|
-
enumerable:
|
|
495
|
+
enumerable: false,
|
|
496
496
|
configurable: true
|
|
497
497
|
});
|
|
498
498
|
Object.defineProperty(DisplayObject.prototype, "loader", {
|
|
@@ -512,7 +512,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
512
512
|
get: function () {
|
|
513
513
|
return this._loader;
|
|
514
514
|
},
|
|
515
|
-
enumerable:
|
|
515
|
+
enumerable: false,
|
|
516
516
|
configurable: true
|
|
517
517
|
});
|
|
518
518
|
Object.defineProperty(DisplayObject.prototype, "mask", {
|
|
@@ -550,7 +550,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
550
550
|
set: function (value) {
|
|
551
551
|
this.scriptMask = value;
|
|
552
552
|
},
|
|
553
|
-
enumerable:
|
|
553
|
+
enumerable: false,
|
|
554
554
|
configurable: true
|
|
555
555
|
});
|
|
556
556
|
Object.defineProperty(DisplayObject.prototype, "maskMode", {
|
|
@@ -564,7 +564,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
564
564
|
this._maskId = value ? this.id : -1;
|
|
565
565
|
this._updateMaskMode();
|
|
566
566
|
},
|
|
567
|
-
enumerable:
|
|
567
|
+
enumerable: false,
|
|
568
568
|
configurable: true
|
|
569
569
|
});
|
|
570
570
|
Object.defineProperty(DisplayObject.prototype, "pickObject", {
|
|
@@ -580,7 +580,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
580
580
|
this._pickObject.mouseEnabled = false;
|
|
581
581
|
}
|
|
582
582
|
},
|
|
583
|
-
enumerable:
|
|
583
|
+
enumerable: false,
|
|
584
584
|
configurable: true
|
|
585
585
|
});
|
|
586
586
|
Object.defineProperty(DisplayObject.prototype, "mouseEnabled", {
|
|
@@ -608,7 +608,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
608
608
|
return;
|
|
609
609
|
this._mouseEnabled = value;
|
|
610
610
|
},
|
|
611
|
-
enumerable:
|
|
611
|
+
enumerable: false,
|
|
612
612
|
configurable: true
|
|
613
613
|
});
|
|
614
614
|
Object.defineProperty(DisplayObject.prototype, "mouseX", {
|
|
@@ -622,7 +622,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
622
622
|
get: function () {
|
|
623
623
|
return this._mouseX;
|
|
624
624
|
},
|
|
625
|
-
enumerable:
|
|
625
|
+
enumerable: false,
|
|
626
626
|
configurable: true
|
|
627
627
|
});
|
|
628
628
|
Object.defineProperty(DisplayObject.prototype, "mouseY", {
|
|
@@ -636,7 +636,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
636
636
|
get: function () {
|
|
637
637
|
return this._mouseY;
|
|
638
638
|
},
|
|
639
|
-
enumerable:
|
|
639
|
+
enumerable: false,
|
|
640
640
|
configurable: true
|
|
641
641
|
});
|
|
642
642
|
Object.defineProperty(DisplayObject.prototype, "name", {
|
|
@@ -656,7 +656,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
656
656
|
set: function (value) {
|
|
657
657
|
this._pName = value;
|
|
658
658
|
},
|
|
659
|
-
enumerable:
|
|
659
|
+
enumerable: false,
|
|
660
660
|
configurable: true
|
|
661
661
|
});
|
|
662
662
|
Object.defineProperty(DisplayObject.prototype, "parent", {
|
|
@@ -677,7 +677,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
677
677
|
get: function () {
|
|
678
678
|
return this._parent;
|
|
679
679
|
},
|
|
680
|
-
enumerable:
|
|
680
|
+
enumerable: false,
|
|
681
681
|
configurable: true
|
|
682
682
|
});
|
|
683
683
|
Object.defineProperty(DisplayObject.prototype, "registrationPoint", {
|
|
@@ -709,7 +709,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
709
709
|
this._registrationMatrix3D.invalidatePosition();
|
|
710
710
|
this._invalidateHierarchicalProperty(HierarchicalProperty.SCENE_TRANSFORM);
|
|
711
711
|
},
|
|
712
|
-
enumerable:
|
|
712
|
+
enumerable: false,
|
|
713
713
|
configurable: true
|
|
714
714
|
});
|
|
715
715
|
Object.defineProperty(DisplayObject.prototype, "registrationScale", {
|
|
@@ -740,7 +740,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
740
740
|
}
|
|
741
741
|
this._invalidateHierarchicalProperty(HierarchicalProperty.SCENE_TRANSFORM);
|
|
742
742
|
},
|
|
743
|
-
enumerable:
|
|
743
|
+
enumerable: false,
|
|
744
744
|
configurable: true
|
|
745
745
|
});
|
|
746
746
|
Object.defineProperty(DisplayObject.prototype, "root", {
|
|
@@ -773,7 +773,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
773
773
|
get: function () {
|
|
774
774
|
return this._root;
|
|
775
775
|
},
|
|
776
|
-
enumerable:
|
|
776
|
+
enumerable: false,
|
|
777
777
|
configurable: true
|
|
778
778
|
});
|
|
779
779
|
Object.defineProperty(DisplayObject.prototype, "rotationX", {
|
|
@@ -793,7 +793,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
793
793
|
this._transform.rotation.x = val * MathConsts.DEGREES_TO_RADIANS;
|
|
794
794
|
this._transform.invalidateMatrix3D();
|
|
795
795
|
},
|
|
796
|
-
enumerable:
|
|
796
|
+
enumerable: false,
|
|
797
797
|
configurable: true
|
|
798
798
|
});
|
|
799
799
|
Object.defineProperty(DisplayObject.prototype, "rotationY", {
|
|
@@ -813,7 +813,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
813
813
|
this._transform.rotation.y = val * MathConsts.DEGREES_TO_RADIANS;
|
|
814
814
|
this._transform.invalidateMatrix3D();
|
|
815
815
|
},
|
|
816
|
-
enumerable:
|
|
816
|
+
enumerable: false,
|
|
817
817
|
configurable: true
|
|
818
818
|
});
|
|
819
819
|
Object.defineProperty(DisplayObject.prototype, "rotationZ", {
|
|
@@ -833,7 +833,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
833
833
|
this._transform.rotation.z = val * MathConsts.DEGREES_TO_RADIANS;
|
|
834
834
|
this._transform.invalidateMatrix3D();
|
|
835
835
|
},
|
|
836
|
-
enumerable:
|
|
836
|
+
enumerable: false,
|
|
837
837
|
configurable: true
|
|
838
838
|
});
|
|
839
839
|
Object.defineProperty(DisplayObject.prototype, "scale9Grid", {
|
|
@@ -894,7 +894,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
894
894
|
this._scale9Grid = value;
|
|
895
895
|
this._invalidateHierarchicalProperty(HierarchicalProperty.SCALE9);
|
|
896
896
|
},
|
|
897
|
-
enumerable:
|
|
897
|
+
enumerable: false,
|
|
898
898
|
configurable: true
|
|
899
899
|
});
|
|
900
900
|
Object.defineProperty(DisplayObject.prototype, "scaleX", {
|
|
@@ -913,7 +913,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
913
913
|
//this._updateAbsoluteDimension();
|
|
914
914
|
this._setScaleX(val);
|
|
915
915
|
},
|
|
916
|
-
enumerable:
|
|
916
|
+
enumerable: false,
|
|
917
917
|
configurable: true
|
|
918
918
|
});
|
|
919
919
|
Object.defineProperty(DisplayObject.prototype, "scaleY", {
|
|
@@ -932,7 +932,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
932
932
|
//this._updateAbsoluteDimension();
|
|
933
933
|
this._setScaleY(val);
|
|
934
934
|
},
|
|
935
|
-
enumerable:
|
|
935
|
+
enumerable: false,
|
|
936
936
|
configurable: true
|
|
937
937
|
});
|
|
938
938
|
Object.defineProperty(DisplayObject.prototype, "scaleZ", {
|
|
@@ -952,7 +952,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
952
952
|
//this._updateAbsoluteDimension();
|
|
953
953
|
this._setScaleZ(val);
|
|
954
954
|
},
|
|
955
|
-
enumerable:
|
|
955
|
+
enumerable: false,
|
|
956
956
|
configurable: true
|
|
957
957
|
});
|
|
958
958
|
Object.defineProperty(DisplayObject.prototype, "skewX", {
|
|
@@ -969,7 +969,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
969
969
|
this._transform.skew.x = val;
|
|
970
970
|
this._transform.invalidateMatrix3D();
|
|
971
971
|
},
|
|
972
|
-
enumerable:
|
|
972
|
+
enumerable: false,
|
|
973
973
|
configurable: true
|
|
974
974
|
});
|
|
975
975
|
Object.defineProperty(DisplayObject.prototype, "skewY", {
|
|
@@ -986,7 +986,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
986
986
|
this._transform.skew.y = val;
|
|
987
987
|
this._transform.invalidateMatrix3D();
|
|
988
988
|
},
|
|
989
|
-
enumerable:
|
|
989
|
+
enumerable: false,
|
|
990
990
|
configurable: true
|
|
991
991
|
});
|
|
992
992
|
Object.defineProperty(DisplayObject.prototype, "skewZ", {
|
|
@@ -1003,7 +1003,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1003
1003
|
this._transform.skew.z = val;
|
|
1004
1004
|
this._transform.invalidateMatrix3D();
|
|
1005
1005
|
},
|
|
1006
|
-
enumerable:
|
|
1006
|
+
enumerable: false,
|
|
1007
1007
|
configurable: true
|
|
1008
1008
|
});
|
|
1009
1009
|
Object.defineProperty(DisplayObject.prototype, "scrollRect", {
|
|
@@ -1045,7 +1045,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1045
1045
|
this._transform.invalidatePosition();
|
|
1046
1046
|
this._scrollRectPrimitiveDirty = true;
|
|
1047
1047
|
},
|
|
1048
|
-
enumerable:
|
|
1048
|
+
enumerable: false,
|
|
1049
1049
|
configurable: true
|
|
1050
1050
|
});
|
|
1051
1051
|
Object.defineProperty(DisplayObject.prototype, "material", {
|
|
@@ -1061,7 +1061,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1061
1061
|
this._material = value;
|
|
1062
1062
|
this._invalidateMaterial();
|
|
1063
1063
|
},
|
|
1064
|
-
enumerable:
|
|
1064
|
+
enumerable: false,
|
|
1065
1065
|
configurable: true
|
|
1066
1066
|
});
|
|
1067
1067
|
Object.defineProperty(DisplayObject.prototype, "style", {
|
|
@@ -1085,7 +1085,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
this._invalidateStyle();
|
|
1087
1087
|
},
|
|
1088
|
-
enumerable:
|
|
1088
|
+
enumerable: false,
|
|
1089
1089
|
configurable: true
|
|
1090
1090
|
});
|
|
1091
1091
|
Object.defineProperty(DisplayObject.prototype, "boundsVisible", {
|
|
@@ -1103,7 +1103,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1103
1103
|
// this.partition = BasicPartition.getRootPartition(this);
|
|
1104
1104
|
this.invalidate();
|
|
1105
1105
|
},
|
|
1106
|
-
enumerable:
|
|
1106
|
+
enumerable: false,
|
|
1107
1107
|
configurable: true
|
|
1108
1108
|
});
|
|
1109
1109
|
DisplayObject.prototype.getScrollRectPrimitive = function () {
|
|
@@ -1190,7 +1190,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1190
1190
|
get: function () {
|
|
1191
1191
|
return this._transform;
|
|
1192
1192
|
},
|
|
1193
|
-
enumerable:
|
|
1193
|
+
enumerable: false,
|
|
1194
1194
|
configurable: true
|
|
1195
1195
|
});
|
|
1196
1196
|
Object.defineProperty(DisplayObject.prototype, "visible", {
|
|
@@ -1208,7 +1208,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1208
1208
|
this._visible = value;
|
|
1209
1209
|
this._invalidateHierarchicalProperty(HierarchicalProperty.VISIBLE);
|
|
1210
1210
|
},
|
|
1211
|
-
enumerable:
|
|
1211
|
+
enumerable: false,
|
|
1212
1212
|
configurable: true
|
|
1213
1213
|
});
|
|
1214
1214
|
DisplayObject.prototype._mergeMasks = function (timeline, script) {
|
|
@@ -1273,7 +1273,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1273
1273
|
mask.maskMode = true;
|
|
1274
1274
|
this._invalidateHierarchicalProperty(HierarchicalProperty.MASKS);
|
|
1275
1275
|
},
|
|
1276
|
-
enumerable:
|
|
1276
|
+
enumerable: false,
|
|
1277
1277
|
configurable: true
|
|
1278
1278
|
});
|
|
1279
1279
|
/**
|
|
@@ -1313,7 +1313,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1313
1313
|
this._setMasks(value);
|
|
1314
1314
|
this._invalidateHierarchicalProperty(HierarchicalProperty.MASKS);
|
|
1315
1315
|
},
|
|
1316
|
-
enumerable:
|
|
1316
|
+
enumerable: false,
|
|
1317
1317
|
configurable: true
|
|
1318
1318
|
});
|
|
1319
1319
|
Object.defineProperty(DisplayObject.prototype, "mouseChildren", {
|
|
@@ -1347,7 +1347,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1347
1347
|
this._mouseChildren = value;
|
|
1348
1348
|
this._invalidateHierarchicalProperty(HierarchicalProperty.MOUSE_ENABLED);
|
|
1349
1349
|
},
|
|
1350
|
-
enumerable:
|
|
1350
|
+
enumerable: false,
|
|
1351
1351
|
configurable: true
|
|
1352
1352
|
});
|
|
1353
1353
|
Object.defineProperty(DisplayObject.prototype, "x", {
|
|
@@ -1370,7 +1370,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1370
1370
|
this._transform.matrix3D._rawData[12] = val;
|
|
1371
1371
|
this._transform.invalidatePosition();
|
|
1372
1372
|
},
|
|
1373
|
-
enumerable:
|
|
1373
|
+
enumerable: false,
|
|
1374
1374
|
configurable: true
|
|
1375
1375
|
});
|
|
1376
1376
|
Object.defineProperty(DisplayObject.prototype, "y", {
|
|
@@ -1393,7 +1393,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1393
1393
|
this._transform.matrix3D._rawData[13] = val;
|
|
1394
1394
|
this._transform.invalidatePosition();
|
|
1395
1395
|
},
|
|
1396
|
-
enumerable:
|
|
1396
|
+
enumerable: false,
|
|
1397
1397
|
configurable: true
|
|
1398
1398
|
});
|
|
1399
1399
|
Object.defineProperty(DisplayObject.prototype, "z", {
|
|
@@ -1425,7 +1425,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1425
1425
|
this._transform.matrix3D._rawData[14] = val;
|
|
1426
1426
|
this._transform.invalidatePosition();
|
|
1427
1427
|
},
|
|
1428
|
-
enumerable:
|
|
1428
|
+
enumerable: false,
|
|
1429
1429
|
configurable: true
|
|
1430
1430
|
});
|
|
1431
1431
|
DisplayObject.prototype.advanceFrame = function () {
|
|
@@ -1568,7 +1568,7 @@ var DisplayObject = /** @class */ (function (_super) {
|
|
|
1568
1568
|
get: function () {
|
|
1569
1569
|
return this._maskId;
|
|
1570
1570
|
},
|
|
1571
|
-
enumerable:
|
|
1571
|
+
enumerable: false,
|
|
1572
1572
|
configurable: true
|
|
1573
1573
|
});
|
|
1574
1574
|
DisplayObject.prototype._setScaleX = function (val) {
|
|
@@ -49,7 +49,7 @@ var DisplayObjectContainer = /** @class */ (function (_super) {
|
|
|
49
49
|
get: function () {
|
|
50
50
|
return DisplayObjectContainer.assetType;
|
|
51
51
|
},
|
|
52
|
-
enumerable:
|
|
52
|
+
enumerable: false,
|
|
53
53
|
configurable: true
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(DisplayObjectContainer.prototype, "animator", {
|
|
@@ -66,7 +66,7 @@ var DisplayObjectContainer = /** @class */ (function (_super) {
|
|
|
66
66
|
if (this._animator)
|
|
67
67
|
this._animator.addOwner(this);
|
|
68
68
|
},
|
|
69
|
-
enumerable:
|
|
69
|
+
enumerable: false,
|
|
70
70
|
configurable: true
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(DisplayObjectContainer.prototype, "numChildren", {
|
|
@@ -76,7 +76,7 @@ var DisplayObjectContainer = /** @class */ (function (_super) {
|
|
|
76
76
|
get: function () {
|
|
77
77
|
return this._children.length;
|
|
78
78
|
},
|
|
79
|
-
enumerable:
|
|
79
|
+
enumerable: false,
|
|
80
80
|
configurable: true
|
|
81
81
|
});
|
|
82
82
|
DisplayObjectContainer.prototype.advanceFrame = function () {
|
|
@@ -31,7 +31,7 @@ var LineSegment = /** @class */ (function (_super) {
|
|
|
31
31
|
get: function () {
|
|
32
32
|
return LineSegment.assetType;
|
|
33
33
|
},
|
|
34
|
-
enumerable:
|
|
34
|
+
enumerable: false,
|
|
35
35
|
configurable: true
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(LineSegment.prototype, "startPosition", {
|
|
@@ -47,7 +47,7 @@ var LineSegment = /** @class */ (function (_super) {
|
|
|
47
47
|
this._startPosition = value;
|
|
48
48
|
this.invalidateElements();
|
|
49
49
|
},
|
|
50
|
-
enumerable:
|
|
50
|
+
enumerable: false,
|
|
51
51
|
configurable: true
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(LineSegment.prototype, "endPosition", {
|
|
@@ -63,7 +63,7 @@ var LineSegment = /** @class */ (function (_super) {
|
|
|
63
63
|
this._endPosition = value;
|
|
64
64
|
this.invalidateElements();
|
|
65
65
|
},
|
|
66
|
-
enumerable:
|
|
66
|
+
enumerable: false,
|
|
67
67
|
configurable: true
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(LineSegment.prototype, "thickness", {
|
|
@@ -79,7 +79,7 @@ var LineSegment = /** @class */ (function (_super) {
|
|
|
79
79
|
this._halfThickness = value * 0.5;
|
|
80
80
|
this.invalidateElements();
|
|
81
81
|
},
|
|
82
|
-
enumerable:
|
|
82
|
+
enumerable: false,
|
|
83
83
|
configurable: true
|
|
84
84
|
});
|
|
85
85
|
LineSegment.prototype.getEntity = function () {
|
|
@@ -155,7 +155,7 @@ var LoaderContainer = /** @class */ (function (_super) {
|
|
|
155
155
|
get: function () {
|
|
156
156
|
return this._content;
|
|
157
157
|
},
|
|
158
|
-
enumerable:
|
|
158
|
+
enumerable: false,
|
|
159
159
|
configurable: true
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(LoaderContainer.prototype, "contentLoader", {
|
|
@@ -165,7 +165,7 @@ var LoaderContainer = /** @class */ (function (_super) {
|
|
|
165
165
|
get: function () {
|
|
166
166
|
return this._contentLoader;
|
|
167
167
|
},
|
|
168
|
-
enumerable:
|
|
168
|
+
enumerable: false,
|
|
169
169
|
configurable: true
|
|
170
170
|
});
|
|
171
171
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MovieClip.d.ts","sourceRoot":"","sources":["../../../lib/display/MovieClip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAi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AAE,MAAM,EAAE,aAAa,GAAG,IAAI;IASvD,KAAK,IAAI,IAAI;IAqBpB,OAAO,CAAC,uBAAuB;CAgB/B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
+
import { BaseAudioChannel } from '@awayjs/core';
|
|
2
3
|
import { PartitionBase, EntityNode } from '@awayjs/view';
|
|
3
4
|
import { MouseEvent } from '../events/MouseEvent';
|
|
4
5
|
import { FrameScriptManager } from '../managers/FrameScriptManager';
|
|
5
6
|
import { Sprite } from './Sprite';
|
|
6
|
-
import { BaseAudioChannel } from '@awayjs/core/dist/lib/managers/BaseAudioChannel';
|
|
7
7
|
var MovieClip = /** @class */ (function (_super) {
|
|
8
8
|
__extends(MovieClip, _super);
|
|
9
9
|
function MovieClip(timeline, spriteMode) {
|
|
@@ -56,12 +56,12 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
56
56
|
//this.debugVisible=true;
|
|
57
57
|
_this._onMouseOver = function (_event) {
|
|
58
58
|
if (_this.buttonEnabled)
|
|
59
|
-
_this.currentFrameIndex = (_event.buttons & 1 /* PRIMARY_BUTTON */) ? _this.currentFrameIndex == 0 ? 0 : 2 : 1;
|
|
59
|
+
_this.currentFrameIndex = (_event.buttons & 1 /* MouseButtons.PRIMARY_BUTTON */) ? _this.currentFrameIndex == 0 ? 0 : 2 : 1;
|
|
60
60
|
else
|
|
61
61
|
_this.currentFrameIndex = 0;
|
|
62
62
|
};
|
|
63
63
|
_this._onMouseOut = function (_event) {
|
|
64
|
-
_this.currentFrameIndex = (_event.buttons & 1 /* PRIMARY_BUTTON */ && _this.currentFrameIndex != 0) ? 1 : 0;
|
|
64
|
+
_this.currentFrameIndex = (_event.buttons & 1 /* MouseButtons.PRIMARY_BUTTON */ && _this.currentFrameIndex != 0) ? 1 : 0;
|
|
65
65
|
};
|
|
66
66
|
_this._onMouseDown = function (_event) {
|
|
67
67
|
if (_this.buttonEnabled)
|
|
@@ -101,7 +101,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
101
101
|
get: function () {
|
|
102
102
|
return this._isSprite;
|
|
103
103
|
},
|
|
104
|
-
enumerable:
|
|
104
|
+
enumerable: false,
|
|
105
105
|
configurable: true
|
|
106
106
|
});
|
|
107
107
|
MovieClip.prototype.initSoundStream = function (streamInfo, maxFrameNum) {
|
|
@@ -230,7 +230,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
230
230
|
this._currentSceneIndex = index;
|
|
231
231
|
this._currentFrameIndex = this._scenes[index].offset;
|
|
232
232
|
},
|
|
233
|
-
enumerable:
|
|
233
|
+
enumerable: false,
|
|
234
234
|
configurable: true
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(MovieClip.prototype, "currentScene", {
|
|
@@ -241,7 +241,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
241
241
|
}
|
|
242
242
|
return currentScene;
|
|
243
243
|
},
|
|
244
|
-
enumerable:
|
|
244
|
+
enumerable: false,
|
|
245
245
|
configurable: true
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(MovieClip.prototype, "scenes", {
|
|
@@ -259,14 +259,14 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
259
259
|
set: function (value) {
|
|
260
260
|
this._scenes = value;
|
|
261
261
|
},
|
|
262
|
-
enumerable:
|
|
262
|
+
enumerable: false,
|
|
263
263
|
configurable: true
|
|
264
264
|
});
|
|
265
265
|
Object.defineProperty(MovieClip.prototype, "isPlaying", {
|
|
266
266
|
get: function () {
|
|
267
267
|
return this._isPlaying;
|
|
268
268
|
},
|
|
269
|
-
enumerable:
|
|
269
|
+
enumerable: false,
|
|
270
270
|
configurable: true
|
|
271
271
|
});
|
|
272
272
|
Object.defineProperty(MovieClip.prototype, "soundVolume", {
|
|
@@ -294,7 +294,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
294
294
|
child.soundVolume = value;
|
|
295
295
|
}
|
|
296
296
|
},
|
|
297
|
-
enumerable:
|
|
297
|
+
enumerable: false,
|
|
298
298
|
configurable: true
|
|
299
299
|
});
|
|
300
300
|
MovieClip.prototype.stopSound = function (sound) {
|
|
@@ -373,7 +373,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
373
373
|
set: function (value) {
|
|
374
374
|
this._useHandCursor = value;
|
|
375
375
|
},
|
|
376
|
-
enumerable:
|
|
376
|
+
enumerable: false,
|
|
377
377
|
configurable: true
|
|
378
378
|
});
|
|
379
379
|
Object.defineProperty(MovieClip.prototype, "buttonMode", {
|
|
@@ -383,7 +383,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
383
383
|
set: function (value) {
|
|
384
384
|
this._buttonMode = value;
|
|
385
385
|
},
|
|
386
|
-
enumerable:
|
|
386
|
+
enumerable: false,
|
|
387
387
|
configurable: true
|
|
388
388
|
});
|
|
389
389
|
Object.defineProperty(MovieClip.prototype, "isButton", {
|
|
@@ -393,7 +393,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
393
393
|
set: function (value) {
|
|
394
394
|
this._isButton = value;
|
|
395
395
|
},
|
|
396
|
-
enumerable:
|
|
396
|
+
enumerable: false,
|
|
397
397
|
configurable: true
|
|
398
398
|
});
|
|
399
399
|
Object.defineProperty(MovieClip.prototype, "isInit", {
|
|
@@ -403,7 +403,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
403
403
|
set: function (value) {
|
|
404
404
|
this._isInit = value;
|
|
405
405
|
},
|
|
406
|
-
enumerable:
|
|
406
|
+
enumerable: false,
|
|
407
407
|
configurable: true
|
|
408
408
|
});
|
|
409
409
|
Object.defineProperty(MovieClip.prototype, "timeline", {
|
|
@@ -416,14 +416,14 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
416
416
|
this._timeline = value;
|
|
417
417
|
this.reset(false, false);
|
|
418
418
|
},
|
|
419
|
-
enumerable:
|
|
419
|
+
enumerable: false,
|
|
420
420
|
configurable: true
|
|
421
421
|
});
|
|
422
422
|
Object.defineProperty(MovieClip.prototype, "numFrames", {
|
|
423
423
|
get: function () {
|
|
424
424
|
return this._timeline.numFrames;
|
|
425
425
|
},
|
|
426
|
-
enumerable:
|
|
426
|
+
enumerable: false,
|
|
427
427
|
configurable: true
|
|
428
428
|
});
|
|
429
429
|
MovieClip.prototype.jumpToLabel = function (label, offset) {
|
|
@@ -478,7 +478,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
478
478
|
set: function (value) {
|
|
479
479
|
this.jumpToIndex(value);
|
|
480
480
|
},
|
|
481
|
-
enumerable:
|
|
481
|
+
enumerable: false,
|
|
482
482
|
configurable: true
|
|
483
483
|
});
|
|
484
484
|
Object.defineProperty(MovieClip.prototype, "currentFrameIndexRelative", {
|
|
@@ -491,7 +491,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
491
491
|
set: function (value) {
|
|
492
492
|
this.jumpToIndex(value, this._currentSceneIndex);
|
|
493
493
|
},
|
|
494
|
-
enumerable:
|
|
494
|
+
enumerable: false,
|
|
495
495
|
configurable: true
|
|
496
496
|
});
|
|
497
497
|
MovieClip.prototype.jumpToIndex = function (value, sceneIndex) {
|
|
@@ -596,7 +596,7 @@ var MovieClip = /** @class */ (function (_super) {
|
|
|
596
596
|
get: function () {
|
|
597
597
|
return MovieClip.assetType;
|
|
598
598
|
},
|
|
599
|
-
enumerable:
|
|
599
|
+
enumerable: false,
|
|
600
600
|
configurable: true
|
|
601
601
|
});
|
|
602
602
|
/**
|