copy_mesh_uv_channel
Copy UV data from one channel to another on the same mesh, adding the destination channel if needed; fails if the source is missing or the destination index is 8+.
Instructions
Copy UV data from one UV channel to another on the same mesh. A dest_channel the mesh does not have yet is added first (the channel count only grows, and channels added in between have no UVs set); a source_channel the mesh does not have, or a dest_channel of 8 or more, is an error checked before anything changes. copied is false, and the call fails, when the engine reports an error; the same channel for both is a no-op that succeeds with copied false and a note. No undo entry, nothing saved.
Returns: { actor_name: string, source_channel: int, dest_channel: int, copied: bool, num_uv_channels_after: int, note?: string } -- actor_name is the dynamic mesh component's name, not the actor label; copied is false when source_channel equals dest_channel, and note says so or that the mesh grew new channels to reach dest_channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_name | Yes | DynamicMeshActor name (required) | |
| dest_channel | Yes | Destination UV channel index, 0 to 7 (required, added to the mesh when it does not have it yet) | |
| source_channel | Yes | Source UV channel index (required) |