Support TexturePacker image atlases
This commit is contained in:
@@ -86,6 +86,9 @@
|
||||
---@field type RuntimeNodeType
|
||||
---@field parent? string
|
||||
---@field asset? string Normal image/sprite/spine asset key. For button nodes this is the normal-state image.
|
||||
---@field frame? string TexturePacker frame name within the asset atlas.
|
||||
---@field pressedFrame? string Button pressed-state TexturePacker frame name.
|
||||
---@field disabledFrame? string Button disabled-state TexturePacker frame name.
|
||||
---@field sourceX? number Source atlas region x in image pixels.
|
||||
---@field sourceY? number Source atlas region y in image pixels.
|
||||
---@field sourceWidth? number Source atlas region width in image pixels.
|
||||
@@ -155,6 +158,9 @@
|
||||
---@field type? RuntimeNodeType
|
||||
---@field parent? string
|
||||
---@field asset? string Normal image/sprite/spine asset key. For button nodes this is the normal-state image.
|
||||
---@field frame? string TexturePacker frame name within the asset atlas.
|
||||
---@field pressedFrame? string Button pressed-state TexturePacker frame name.
|
||||
---@field disabledFrame? string Button disabled-state TexturePacker frame name.
|
||||
---@field sourceX? number Source atlas region x in image pixels.
|
||||
---@field sourceY? number Source atlas region y in image pixels.
|
||||
---@field sourceWidth? number Source atlas region width in image pixels.
|
||||
|
||||
Reference in New Issue
Block a user