| Parameter | Description |
|---|---|
| assetPath | The project-relative path of the asset to operate on. |
| subAssets | An array of all assets at assetPath. |
| width | Width of the created texture in pixels. |
| height | Height of the created texture in pixels. |
Texture2D
The generated static preview Texture2D of the Terrain Layer, or null if Unity uses the default icon.
Draws the default Terrain Layer static preview.
Additional resources: Editor.RenderStaticPreview.