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 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
 
@@ -1,3 +1,4 @@
1
1
  export declare const BACKGROUND_COLOR = 15790327;
2
2
  export declare const UNITS_PER_INCH = 1;
3
3
  export declare const UNITS_PER_FOOT: number;
4
+ export declare const TIME_PER_FRAME: number;