SceneModule
WHS.app.SceneModule
const app = new WHS.App([
new WHS.app.SceneModule()
]);
constructor(willSceneBeReplaced = false)
willSceneBeReplaced
willSceneBeReplaced
should betrue
only if you are going to overwritescene
dependency even without the use of default one.
Exported dependencies
Name | Value | Alias |
---|---|---|
scene | THREE.Scene instance | app.$scene |
Integrated functionality
Method name | Description |
---|---|
app.add(object) | Function to add component's native objects (THREE.Object3D ) to scene |
Updated over 7 years ago