SceneModule

WHS.app.SceneModule

const app = new WHS.App([
  new WHS.app.SceneModule()
]);

constructor(willSceneBeReplaced = false)

📘

willSceneBeReplaced

willSceneBeReplaced should be true only if you are going to overwrite scene dependency even without the use of default one.

Exported dependencies

NameValueAlias
sceneTHREE.Scene instanceapp.$scene

Integrated functionality

Method nameDescription
app.add(object)Function to add component's native objects (THREE.Object3D) to scene