angry-pixel 2.1.7 → 2.1.8
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/lib/index.cjs.js +1 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +6 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2718,6 +2718,9 @@ interface TiledProperty {
|
|
|
2718
2718
|
* position: new Vector2(100, 100),
|
|
2719
2719
|
* scale: new Vector2(2, 2),
|
|
2720
2720
|
* rotation: Math.PI / 4
|
|
2721
|
+
* ignoreParentPosition: false,
|
|
2722
|
+
* ignoreParentScale: false,
|
|
2723
|
+
* ignoreParentRotation: false
|
|
2721
2724
|
* });
|
|
2722
2725
|
* ```
|
|
2723
2726
|
*/
|
|
@@ -2725,6 +2728,9 @@ interface TransformOptions {
|
|
|
2725
2728
|
position: Vector2;
|
|
2726
2729
|
scale: Vector2;
|
|
2727
2730
|
rotation: number;
|
|
2731
|
+
ignoreParentPosition: boolean;
|
|
2732
|
+
ignoreParentScale: boolean;
|
|
2733
|
+
ignoreParentRotation: boolean;
|
|
2728
2734
|
}
|
|
2729
2735
|
/**
|
|
2730
2736
|
* The Transform component defines an entity's position, scale and rotation in the game world.\
|