@@ -17390,8 +17390,9 @@ declare namespace Phaser {
1739017390 *
1739117391 * If you just want to temporarily disable an object then look at using the
1739217392 * 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.
1739317394 */
17394- destroy(): void;
17395+ destroy(fromScene?: boolean ): void;
1739517396
1739617397 /**
1739717398 * 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 {
6238862389 };
6238962390
6239062391 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;
6239362400 /**
6239462401 * The depth of the GameObject.
6239562402 */
@@ -62410,9 +62417,18 @@ declare namespace Phaser {
6241062417 * The scroll factor of the GameObject.
6241162418 */
6241262419 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;
6241662432 /**
6241762433 * The origin of the Game Object.
6241862434 */
@@ -65532,6 +65548,33 @@ declare namespace Phaser {
6553265548 attributes?: Phaser.Types.Renderer.WebGL.WebGLPipelineAttributeConfig[];
6553365549 };
6553465550
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+
6553565578 type WebGLTextureCompression = {
6553665579 /**
6553765580 * Indicates if ETC1 compression is supported on current device (mostly Android).
0 commit comments