addMaterialLayer
Add material layers to 3D scenes with configurable types, blend modes, and opacity settings for enhanced visual design in Spline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| materialId | Yes | Material ID | |
| layerType | Yes | Layer type | |
| name | Yes | Layer name | |
| params | No | Layer-specific parameters | |
| blendMode | No | Layer blend mode | normal |
| opacity | No | Layer opacity | |
| maskLayer | No | Index of layer to use as mask | |
| position | No | Position in layer stack (0 = bottom) |