• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)

3671. HTMLDivElement下划线换行时,下划线颜色错误 [ 51%]

...一段代码,错误应该是这段代码造成。 __proto.createOneLine=function(startWord,lastWords,hasLine,graphic,recList){ var lineY=lastWords.y+lastWords.height; if(hasLine) graphic.drawLine(startWord.x,lineY,lastWords.x+lastWords.width,lineY,this.color,1); var hitRec=HTMLHitRect.create(); hi...

来源: Laya_社区 发布时间: 20190801

3672. laya.events.TouchInfo_API3.0 [ 51%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

3673. 发布到微信小游戏后Timer的getHandler报错了 [ 51%]

...个函数中,获取$_TID时报错了 /**@private */ __proto._getHandler=function(caller,method){ var cid=caller ? caller.$_GID || (caller.$_GID=Utils.getGID()):0; var mid=method.$_TID || (method.$_TID=(this._mid++)*100000); return this._map[cid+mid]; } 请教一下大家,有遇到过这个问题...

来源: Laya_社区 发布时间: 20180520

3674. 无法截屏1.714 [ 51%]

...访问了 var image = window.document.createElement("img"); image.onload=function() { } image.src="file:///" + conch.getCachePath()+"/test.jpg";  截图之后还需要 取出来用,我们这个截图是没问题的, 你那个报错是怎么弄的 2018-02-26 0 1 分享 微博 QZONE 微信 为什...

来源: Laya_社区 发布时间: 20180224

3675. 【laya2.0】加载并且显示图片,并且让该图片居于舞台中央,怎么写? [ 51%]

...hild(logo); logo.loadImage("res/atlas/test.png", Laya.Handler.create(this, function(){ console.log("complete!!"); logo.x= Laya.stage.width/2-logo.width/2; logo.y= Laya.stage.height/2-logo.height/2; //logo.pos(Laya.stage.width/2-logo.width/2,Laya.stage.height/2-logo.height/2); })); 2018-10-10 0 1 分...

来源: Laya_社区 发布时间: 20181010

3676. laya.d3.core.HeightMap_API3.0 [ 51%]

...dth getHeight creatFromMesh createFromImage Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Static method

来源: Laya3.0_api 发布时间: 20231102

3677. laya.d3.core.trail.VertexTrail_API3.0 [ 51%]

...ation vertexDeclaration1 vertexDeclaration2 Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property

来源: Laya3.0_api 发布时间: 20231102

3678. 3d文字在浏览器能正常运行,打包后使用时会报错 [ 51%]

...错 错误:Failed to execute "texImage2D" on "WebGL2RenderingContext":No function was found that matched the signature provided   在this.texture2D.loadImageSource(this.cav);报错   this.cav = Laya.Browser.createElement("canvas"); this.cav.width = 256; this.cav.height = 256;  var cxt = this.ca...

来源: Laya_社区 发布时间: 20200714

3679. 做3D游戏,对应平台的3D资源是否要再U3D区分导出 [ 51%]

...RUNTIME] thirdScriptError undefined;at api readFile success callback function undefined 字面意思理解是加载资源没有回调,在Android和Web上能跑,在IOS上有问题,我就猜测是资源格式的问题,因为U3D里不同平台也需要打不同平台的AB。     比如L...

来源: Laya_社区 发布时间: 20191012

3680. laya.d3.component.animator.AnimatorStateTriggerCondition_API3.0 [ 51%]

...ckState conditionIDToName conditionNameToID Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Inherited accessor

来源: Laya3.0_api 发布时间: 20231102