assets-get-texture-content-bounding-box
Get the exact offset and size of a texture's visible content, ignoring transparent padding, for precise object placement in game scenes.
Instructions
Get the bounding box of the content of the given texture. Many textures has transparent padding but we need the exact offset and size of the content/object of the texture to place them in the right positions in the scene. Like when placing different objects one next to the other, with touching edges. If you need to know the size of the whole image, use the assets-get-texture-size tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texture | No | The texture of the game object. |