scale_mesh_uvs
Scale U and V coordinates of a mesh's UV channel on a DynamicMeshActor in the editor, centered on an optional origin. Non-zero factors required; returns updated scale info.
Instructions
Scale all UVs of one channel on a DynamicMeshActor's live dynamic mesh in the editor world by separate U and V factors; zero factors are refused and 1, 1 changes nothing (scaled false). No undo entry; reply actor_name is the component name, not the actor label.
Returns: { actor_name: string, uv_channel: int, scale_u: number, scale_v: number, scale_origin: { u, v }, scaled: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale_u | Yes | Scale factor along U; must be non-zero (1 keeps U unchanged). | |
| scale_v | Yes | Scale factor along V; must be non-zero (1 keeps V unchanged). | |
| actor_name | Yes | Label or object name (case-insensitive) of the target DynamicMeshActor in the editor world. | |
| uv_channel | Yes | 0-based UV channel index; a channel the mesh does not have fails the call. | |
| scale_origin_u | No | U coordinate of the point the scaling is centred on (default 0). | |
| scale_origin_v | No | V coordinate of the point the scaling is centred on (default 0). |