API ReferenceMaterial texture mappings
Create a material texture mapping
AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/material-texture-mappings" \ -H "Content-Type: application/json" \ -d '{ "blendSharpness": 0.1, "enabled": true, "mappingType": "TEXTURE", "matchMode": "CONTAINS", "materialNamePattern": "string", "materialProperties": { "aoStrength": 0.1, "metalness": 0.1, "normalStrength": 0.1, "roughnessMultiplier": 0.1 }, "name": "string", "priority": 0, "textureRepeat": 0.1, "textureRotation": 0.1, "textureScale": 0.1 }'{
"blendSharpness": 0.1,
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"customMaterialProperties": {
"color": "string",
"metalness": 0.1,
"opacity": 0.1,
"roughness": 0.1
},
"enabled": true,
"id": "string",
"mappingType": "TEXTURE",
"matchMode": "CONTAINS",
"materialNamePattern": "string",
"materialProperties": {
"aoStrength": 0.1,
"metalness": 0.1,
"normalStrength": 0.1,
"roughnessMultiplier": 0.1,
"tintColor": "string"
},
"name": "string",
"priority": 0,
"projectId": "string",
"protectedPreset": "GLASS",
"tenantId": "string",
"textureId": "string",
"textureRepeat": 0.1,
"textureRotation": 0.1,
"textureScale": 0.1,
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}