.new OrbitControlsModule(paramsopt)
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object
|
<optional> |
|
Example
Creating a rendering module and passing it to App's modules
new App([
new ElementModule(),
new SceneModule(),
new DefineModule('camera', new WHS.PerspectiveCamera({
position: new THREE.Vector3(0, 6, 18),
far: 10000
})),
new RenderingModule(),
new OrbitControlsModule()
]);