Skip to content

Commit 00babc2

Browse files
committed
Updated builds.
1 parent 5c6374b commit 00babc2

File tree

9 files changed

+731
-665
lines changed

9 files changed

+731
-665
lines changed

build/three.cjs

Lines changed: 181 additions & 148 deletions
Large diffs are not rendered by default.

build/three.core.js

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28362,7 +28362,7 @@ class BatchedMesh extends Mesh {
2836228362
* Sets the given color to the defined instance.
2836328363
*
2836428364
* @param {number} instanceId - The ID of an instance to set the color of.
28365-
* @param {Color} color - The color to set the instance to.
28365+
* @param {Color|Vector4} color - The color to set the instance to. Use a `Vector4` to also define alpha.
2836628366
* @return {BatchedMesh} A reference to this batched mesh.
2836728367
*/
2836828368
setColorAt( instanceId, color ) {
@@ -28386,8 +28386,8 @@ class BatchedMesh extends Mesh {
2838628386
* Returns the color of the defined instance.
2838728387
*
2838828388
* @param {number} instanceId - The ID of an instance to get the color of.
28389-
* @param {Color} color - The target object that is used to store the method's result.
28390-
* @return {Color} The instance's color.
28389+
* @param {Color|Vector4} color - The target object that is used to store the method's result.
28390+
* @return {Color|Vector4} The instance's color. Use a `Vector4` to also retrieve alpha.
2839128391
*/
2839228392
getColorAt( instanceId, color ) {
2839328393

@@ -39730,6 +39730,14 @@ class MeshPhongMaterial extends Material {
3973039730
*/
3973139731
this.reflectivity = 1;
3973239732

39733+
/**
39734+
* Scales the effect of the environment map by multiplying its color.
39735+
*
39736+
* @type {number}
39737+
* @default 1
39738+
*/
39739+
this.envMapIntensity = 1.0;
39740+
3973339741
/**
3973439742
* The index of refraction (IOR) of air (approximately 1) divided by the
3973539743
* index of refraction of the material. It is used with environment mapping
@@ -39838,6 +39846,7 @@ class MeshPhongMaterial extends Material {
3983839846
this.envMapRotation.copy( source.envMapRotation );
3983939847
this.combine = source.combine;
3984039848
this.reflectivity = source.reflectivity;
39849+
this.envMapIntensity = source.envMapIntensity;
3984139850
this.refractionRatio = source.refractionRatio;
3984239851

3984339852
this.wireframe = source.wireframe;
@@ -40603,6 +40612,14 @@ class MeshLambertMaterial extends Material {
4060340612
*/
4060440613
this.reflectivity = 1;
4060540614

40615+
/**
40616+
* Scales the effect of the environment map by multiplying its color.
40617+
*
40618+
* @type {number}
40619+
* @default 1
40620+
*/
40621+
this.envMapIntensity = 1.0;
40622+
4060640623
/**
4060740624
* The index of refraction (IOR) of air (approximately 1) divided by the
4060840625
* index of refraction of the material. It is used with environment mapping
@@ -40709,6 +40726,7 @@ class MeshLambertMaterial extends Material {
4070940726
this.envMapRotation.copy( source.envMapRotation );
4071040727
this.combine = source.combine;
4071140728
this.reflectivity = source.reflectivity;
40729+
this.envMapIntensity = source.envMapIntensity;
4071240730
this.refractionRatio = source.refractionRatio;
4071340731

4071440732
this.wireframe = source.wireframe;

build/three.core.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.module.js

Lines changed: 161 additions & 146 deletions
Large diffs are not rendered by default.

build/three.module.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)