stlModels | string[] | empty array | List of stl model paths |
stlModelFiles | string[] | empty array | List of stl model files/content |
hasControls | boolean | true | If true, the user can interact with the stl-models |
camera | THREE.Camera | THREE.PerspectiveCamera( 35, WindowInnerWidth / WindowInnerHeight, 1, 15 ) | The projection mode used for rendering the scene |
cameraTarget | THREE.Vector3 | THREE.Vector3( 0, 0, 0 ) | The orientation point for the camera |
light | THREE.Light | THREE.PointLight( 0xffffff ) | Illuminates the scene |
material | THREE.MeshMaterialType | THREE.MeshPhongMaterial({ color: 0xc4c4c4, shininess: 100, specular: 0x111111 }) | Casts more precisely the possible materials assignable to a [ [Mesh]] object |
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 |
renderer | THREE.WebGLRenderer | THREE.WebGLRenderer({ antialias: true }) | Displays your beautifully crafted scenes using WebGL |
controls | THREE.OrbitControls | THREE.OrbitControls | Allow the camera to orbit around a target |
meshOptions | MeshOptions[] | [] | customize mesh options per stl-model |
centered | boolean | true | Flag if models should be centered |