@@ -17390,8 +17390,9 @@ declare namespace Phaser {
17390
17390
*
17391
17391
* If you just want to temporarily disable an object then look at using the
17392
17392
* Game Object Pool instead of destroying it, as destroyed objects cannot be resurrected.
17393
+ * @param fromScene `True` if this Game Object is being destroyed by the Scene, `false` if not. Default false.
17393
17394
*/
17394
- destroy(): void;
17395
+ destroy(fromScene?: boolean ): void;
17395
17396
17396
17397
/**
17397
17398
* The bitmask that `GameObject.renderFlags` is compared against to determine if the Game Object will render or not.
@@ -62388,8 +62389,14 @@ declare namespace Phaser {
62388
62389
};
62389
62390
62390
62391
type GameObjectConfig = {
62391
- undefined: any;
62392
- undefined: any;
62392
+ /**
62393
+ * The x position of the Game Object.
62394
+ */
62395
+ x?: number | object;
62396
+ /**
62397
+ * The y position of the Game Object.
62398
+ */
62399
+ y?: number | object;
62393
62400
/**
62394
62401
* The depth of the GameObject.
62395
62402
*/
@@ -62410,9 +62417,18 @@ declare namespace Phaser {
62410
62417
* The scroll factor of the GameObject.
62411
62418
*/
62412
62419
scrollFactor?: number | object;
62413
- undefined: any;
62414
- undefined: any;
62415
- undefined: any;
62420
+ /**
62421
+ * The rotation angle of the Game Object, in radians.
62422
+ */
62423
+ rotation?: number | object;
62424
+ /**
62425
+ * The rotation angle of the Game Object, in degrees.
62426
+ */
62427
+ angle?: number | object;
62428
+ /**
62429
+ * The alpha (opacity) of the Game Object.
62430
+ */
62431
+ alpha?: number | object;
62416
62432
/**
62417
62433
* The origin of the Game Object.
62418
62434
*/
@@ -65532,6 +65548,33 @@ declare namespace Phaser {
65532
65548
attributes?: Phaser.Types.Renderer.WebGL.WebGLPipelineAttributeConfig[];
65533
65549
};
65534
65550
65551
+ type WebGLPipelineUniformsConfig = {
65552
+ /**
65553
+ * The name of the uniform as defined in the shader.
65554
+ */
65555
+ name: string;
65556
+ /**
65557
+ * The location of the uniform.
65558
+ */
65559
+ location: number;
65560
+ /**
65561
+ * The first cached value of the uniform.
65562
+ */
65563
+ value1?: number;
65564
+ /**
65565
+ * The first cached value of the uniform.
65566
+ */
65567
+ value2?: number;
65568
+ /**
65569
+ * The first cached value of the uniform.
65570
+ */
65571
+ value3?: number;
65572
+ /**
65573
+ * The first cached value of the uniform.
65574
+ */
65575
+ value4?: number;
65576
+ };
65577
+
65535
65578
type WebGLTextureCompression = {
65536
65579
/**
65537
65580
* Indicates if ETC1 compression is supported on current device (mostly Android).
0 commit comments