@ts-defold/types 1.2.54 → 1.2.56
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/index.d.ts +27 -3
- 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.
|
|
5
|
+
// DEFOLD. stable version 1.9.5 (d01194cf0fb576b516a1dca6af6f643e9e590051)
|
|
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
|
|
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
|
|
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
|
|