assetPath | The asset to operate on. |
subAssets | An array of all Assets at assetPath. |
width | Width of the created texture. |
height | Height of the created texture. |
Texture2D Generated texture or null.
Creates a texture preview for rendering the Tile asset preview.