user preferences via API
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"molecule1": {
|
||||
"type": "Mesh",
|
||||
"geometry": { "type": "BoxGeometry", "args": [1, 1, 1] },
|
||||
"position": [0, 0.5, 0],
|
||||
"material": { "type": "MeshStandardMaterial", "color": "orange" },
|
||||
"children": [
|
||||
{
|
||||
@@ -10,6 +11,20 @@
|
||||
"geometry": { "type": "SphereGeometry", "args": [0.3, 16, 16] },
|
||||
"material": { "type": "MeshStandardMaterial", "color": "blue" },
|
||||
"position": [0, 0.5, 0]
|
||||
},
|
||||
{
|
||||
"type": "Mesh",
|
||||
"childSuffix": "head",
|
||||
"geometry": { "type": "CylinderGeometry", "args": [1, 1, 0.5] },
|
||||
"material": { "type": "MeshBasicMaterial",
|
||||
"color": "0x9090F0",
|
||||
"transparent": true,
|
||||
"opacity": 0.3,
|
||||
"blending": "AdditiveBlending",
|
||||
"side": "BackSide"
|
||||
},
|
||||
"scale": [1.5, 2, 1],
|
||||
"position": [0, 0, 0]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user