@ts-defold/types 1.2.53 → 1.2.55

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.
Files changed (2) hide show
  1. package/index.d.ts +27 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /// <reference types="lua-types/5.1" />
3
3
  /// <reference types="@typescript-to-lua/language-extensions" />
4
4
 
5
- // DEFOLD. stable version 1.9.4 (a9277779d1c23b0712a5959314b9508d2e802efb)
5
+ // DEFOLD. stable version 1.9.5 (87b6907759f7b8dff830d54b2250b8d721bde291)
6
6
  // =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= =^..^= //
7
7
 
8
8
 
@@ -5051,14 +5051,38 @@ The name of the geometry. Used when matching animations between multiple atlases
5051
5051
 
5052
5052
 
5053
5053
 
5054
+ `width`
5055
+ The width of the image the sprite geometry represents
5056
+
5057
+
5058
+
5059
+
5060
+ `height`
5061
+ The height of the image the sprite geometry represents
5062
+
5063
+
5064
+
5065
+
5066
+ `pivot_x`
5067
+ The pivot x value of the image in unit coords. (0,0) is upper left corner, (1,1) is bottom right. Default is 0.5.
5068
+
5069
+
5070
+
5071
+
5072
+ `pivot_y`
5073
+ The pivot y value of the image in unit coords. (0,0) is upper left corner, (1,1) is bottom right. Default is 0.5.
5074
+
5075
+
5076
+
5077
+
5054
5078
  `vertices`
5055
- a list of the vertices in texture space of the geometry in the form {px0, py0, px1, py1, ..., pxn, pyn}
5079
+ a list of the vertices in image space of the geometry in the form {px0, py0, px1, py1, ..., pxn, pyn}
5056
5080
 
5057
5081
 
5058
5082
 
5059
5083
 
5060
5084
  `uvs`
5061
- a list of the uv coordinates in texture space of the geometry in the form of {u0, v0, u1, v1, ..., un, vn}
5085
+ a list of the uv coordinates in image space of the geometry in the form of {u0, v0, u1, v1, ..., un, vn}.
5062
5086
 
5063
5087
 
5064
5088
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-defold/types",
3
- "version": "1.2.53",
3
+ "version": "1.2.55",
4
4
  "description": "TypeScript definitions for Defold",
5
5
  "repository": "github:ts-defold/types",
6
6
  "keywords": [