assets-get-texture-binary
Get the dimensions (width and height) of a texture, including frames from atlases or sprite-sheets.
Instructions
Get the size of the texture. If you need to get the real size of the object inside the texture (without the transparent margin), then you can use the assets-get-texture-content-bounding-box tool.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "assets-get-texture-binary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texture | No | The texture of the game object. |