Set face UVs
bb_set_face_uvSet UV coordinates for one face to map textures. For cubes, pass a pixel rectangle; for meshes, pass UVs aligned to face vertices or a vertex map.
Instructions
Set UVs on one face. For cubes give uv=[x1,y1,x2,y2] in texture pixels. For meshes give uvs aligned to the face vertices, or a {vertex_key:[u,v]} map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uv | No | ||
| uvs | No | ||
| face | Yes | Cube face name, or mesh face key (use bb_list_elements include_geometry:true). | |
| target | Yes |