threedviewer 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/ThreeSceneSetup/constants.d.ts +1 -0
- package/dist/simple-viewer.es.js +326 -314
- package/dist/simple-viewer.umd.js +10 -10
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -65,6 +65,7 @@ SimpleViewer accepts an `options` prop for customization. Here's an overview of
|
|
|
65
65
|
|
|
66
66
|
```javascript
|
|
67
67
|
const defaultOptions = {
|
|
68
|
+
staticScene: true, // This param will stop rendering if there is no activity
|
|
68
69
|
backgroundColor: '#f0f0f7',
|
|
69
70
|
camera: {
|
|
70
71
|
position: [6, 2, 1.2],
|
|
@@ -98,7 +99,8 @@ const defaultOptions = {
|
|
|
98
99
|
grid: true,
|
|
99
100
|
axes: false,
|
|
100
101
|
boundingBox: true
|
|
101
|
-
}
|
|
102
|
+
},
|
|
103
|
+
animationLoop: null // External animation function
|
|
102
104
|
}
|
|
103
105
|
```
|
|
104
106
|
|