clear_uv_channel
Clears all UV data from a specified channel on a static mesh. Resizes the UV channel count if the cleared channel was the highest.
Instructions
Drop all UVs from one UV channel on a static mesh. Idempotent on already-empty channels. Resizes the UV-channel count if the cleared channel is the highest one (UE 5.8 doesn't auto-shrink channel count, so callers that want to "remove" a UV channel should follow up with set_num_uv_channels).
Returns: { static_mesh_path, uv_channel, uv_channel_count_before, uv_channel_count_after, cleared, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uv_channel | No | Index of the UV channel to clear (0-based; default 0) | |
| static_mesh_path | Yes | Asset path to the UStaticMesh |