@galacean/effects-threejs 2.2.3 → 2.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects runtime threejs plugin for the web
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
6
- * Version: v2.2.3
6
+ * Version: v2.2.4
7
7
  */
8
8
 
9
9
  'use strict';
@@ -25254,6 +25254,7 @@ var TextComponentBase = /*#__PURE__*/ function() {
25254
25254
  wrapT: glContext.CLAMP_TO_EDGE
25255
25255
  });
25256
25256
  this.renderer.texture = texture;
25257
+ this.material.setTexture("_MainTex", texture);
25257
25258
  this.isDirty = false;
25258
25259
  };
25259
25260
  _proto.getFontDesc = function getFontDesc() {
@@ -31393,7 +31394,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem, true);
31393
31394
  registerPlugin("particle", ParticleLoader, exports.VFXItem, true);
31394
31395
  registerPlugin("cal", CalculateLoader, exports.VFXItem, true);
31395
31396
  registerPlugin("interact", InteractLoader, exports.VFXItem, true);
31396
- var version$1 = "2.2.3";
31397
+ var version$1 = "2.2.4";
31397
31398
  logger.info("Core version: " + version$1 + ".");
31398
31399
 
31399
31400
  var _obj;
@@ -33026,7 +33027,7 @@ setMaxSpriteMeshItemCount(8);
33026
33027
  */ Mesh.create = function(engine, props) {
33027
33028
  return new ThreeMesh(engine, props);
33028
33029
  };
33029
- var version = "2.2.3";
33030
+ var version = "2.2.4";
33030
33031
  logger.info("THREEJS plugin version: " + version + ".");
33031
33032
 
33032
33033
  exports.AbstractPlugin = AbstractPlugin;