fozmo-3d-preview
Advanced tools
Comparing version 1.0.34 to 1.0.35
@@ -684,11 +684,19 @@ import { EEncryptExt, ENormalExt, ResLoaderManager } from './../manager/ResLoaderManager'; | ||
this.setHemisphereLight(this._params.HLEnable); | ||
this._hemiLightHelper.visible = this._params.HLHelperEnable; | ||
this._hemiLight.intensity = hemiLuminousIrradiances[this._params.hemiIrradiance]; | ||
this._hemiLight.intensity = this._params.HLIntensity; | ||
this._hemiLight.color = new THREE.Color(this._params.HLSkyColor); | ||
this._hemiLight.groundColor = new THREE.Color(this._params.HLGroundColor); | ||
if (this._hemiLight) { | ||
if (this._hemiLightHelper) { | ||
this._hemiLightHelper.visible = this._params.HLHelperEnable; | ||
} | ||
this._hemiLight.intensity = hemiLuminousIrradiances[this._params.hemiIrradiance]; | ||
this._hemiLight.intensity = this._params.HLIntensity; | ||
this._hemiLight.color = new THREE.Color(this._params.HLSkyColor); | ||
this._hemiLight.groundColor = new THREE.Color(this._params.HLGroundColor); | ||
} | ||
this.setDirectionalLight(this._params.DLEnable); | ||
this._dirLight.color = new THREE.Color(this._params.DLColor); | ||
this._dirLight.intensity = this._params.DLIntensity; | ||
this._dirLightHelper.visible = this._params.DLHelperEnable; | ||
if (this._dirLight) { | ||
this._dirLight.color = new THREE.Color(this._params.DLColor); | ||
this._dirLight.intensity = this._params.DLIntensity; | ||
if (this._dirLightHelper) { | ||
this._dirLightHelper.visible = this._params.DLHelperEnable; | ||
} | ||
} | ||
if (this._params.animationName !== undefined) { | ||
@@ -695,0 +703,0 @@ const action = this._animations[this._params.animationName]; |
{ | ||
"name": "fozmo-3d-preview", | ||
"version": "1.0.34", | ||
"version": "1.0.35", | ||
"description": "风之末 作品预览", | ||
@@ -5,0 +5,0 @@ "main": "lib/Fozmo3DPreview.js", |
188247
5655