SkinLayerStudio API (Beta)
/
API Reference
/
API
use()
Download MarkdownMakes that mesh the active slot. After this, api.skin() and apply_to_skin() see this mesh.
Use the name exactly as meshes() returned it. An unknown name is no_mesh.
Signature
api.use(name) -> result
| Field | Meaning |
|---|---|
ok |
True on success. |
error |
Failure code. Empty on success. The path is not included. |
no_mesh |
No slot has that name. |
Example
`python
api.use("Body")
skin = api.skin()