recompute_mesh_uvs
Recompute UVs on a selected channel of a DynamicMeshActor with a flatten method and island source to regenerate or fix mesh UVs for texturing and materials.
Instructions
Recompute UVs on a UV channel using the configured flatten method. A channel the mesh does not have, or an empty mesh, is an error; recomputed is false, and the call fails, when the engine refuses (for example polygroups on a mesh without polygroups).
Returns: { actor_name, uv_channel, island_source, method, recomputed }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | flatten method: "spectral_conformal" (default), "conformal" or "exp_map" | |
| actor_name | Yes | DynamicMeshActor name (required) | |
| uv_channel | No | UV channel index (default 0) | |
| island_source | No | "uv_islands" | "polygroups" | "existing_groups" | "selection" (default "uv_islands") |