You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| hasControls | boolean | true | If true, the user can interact with the stl-model|
27
+
|stlModels| string[]| - |List of stlmodel paths|
28
+
| hasControls | boolean | true | If true, the user can interact with the stl-models|
32
29
| camera | THREE.Camera | THREE.PerspectiveCamera( 35, WindowInnerWidth / WindowInnerHeight, 1, 15 ) | The projection mode used for rendering the scene |
33
30
| cameraTarget | THREE.Vector3 | THREE.Vector3( 0, 0, 0 ) | The orientation point for the camera |
34
31
| light | THREE.Light | THREE.PointLight( 0xffffff ) | Illuminates the scene |
35
32
| material | THREE.MeshMaterialType | THREE.MeshPhongMaterial({ color: 0xc4c4c4, shininess: 100, specular: 0x111111 }) | Casts more precisely the possible materials assignable to a [[Mesh]] object |
36
33
| scene | THREE.Scene | THREE.Scene() | Scenes allow you to set up what and where is to be rendered by three.js. This is where you place objects, lights and cameras |
37
34
| renderer | THREE.WebGLRenderer | THREE.WebGLRenderer({ antialias: true }) | Displays your beautifully crafted scenes using WebGL |
38
35
| controls | THREE.OrbitControls | THREE.OrbitControls | Allow the camera to orbit around a target |
39
-
| meshOptions | MeshOptions |{}|-|
36
+
| meshOptions | MeshOptions[]|[]|customize mesh options per stl-model|
40
37
41
38
## Output Events
42
39
| Attr | Details |
@@ -60,14 +57,5 @@ Contributing
60
57
===
61
58
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using `yarn lint` and `yarn test`.
0 commit comments