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

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

721. laya.d3.core.render.InstanceRenderElement_API3.0 [ 53%]

...ileShader recover updateInstanceData create Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Inherited property Inherited method Enumeration Interface Static method

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

722. 2.0 Beta3版本中,runtime脚本的的问题 [ 53%]

...c exportSceneToJson:boolean=false; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("game/ImageRunTime.ts",ImageRunTime); } } GameConfig.init(); 2018-10-15 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: https://ldc2.layabox.com/doc/?nav=zh-as-2-4-1  照着...

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

723. IOS的safari浏览器打开h5项目demo,游戏场景偏移(附件有完整demo) [ 53%]

... laya.display.Text; import laya.ui.Image; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#235615"; //设置适配模式 Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage...

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

724. Laya IDE1.8.4beta版本打包oppo小游戏发布到快应用平台一直黑屏 [ 53%]

...查看报错日志是:ERROR: Uncaught TypeError: this.drawImage is not a function Laya引擎版本:1.8.4beta 快应用版本:2.6.0 oppo真机机型:OPPO A59s 2019-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

725. 为什么官网示例中关于stage的调用都用Laya.stage的形式 [ 52%]

...被占用什么时候能自动回收,什么时候需要手动回收。 (function(){     var Browser = Laya.Browser;          Laya.init(Browser.clientWidth, Browser.clientHeight, Laya.WebGL);     var stage = Laya.stage;     stage.bgColor = "#00ffff";     stage.alignH = "center"; ...

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

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

...一段代码,错误应该是这段代码造成。 __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

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

...个函数中,获取$_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

728. laya.d3.core.render.command.BlitScreenQuadCMD_API3.0 [ 52%]

...roy recover run setContext setshader create Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Inherited method Static method

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

729. 发布原生 ios/android 的渲染问 题 [ 52%]

...更新_cnavas相关的状态     */     __proto._checkCanvasEnable=function(){         var tEnable=this._cacheStyle.needEnableCanvasRender();         this._getCacheStyle().enableCanvasRender=tEnable;         if (tEnable){             if (this._cacheStyle.n...

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

730. native 源码安卓编译错误,JCFileResManager 中的JCFileRes 没有setOnReadyCB,setOnErrorCB 方法,是不是没上传? [ 52%]

.../../source/conch/JSWrapper/LayaWrap/JSAudio.cpp:199:94: error: no matching function for call to 'laya::JCFileRes::setOnReadyCB(std::__1::__bind<bool (laya::JSAudio::*)(void*, std::__1::weak_ptr<int>), laya::JSAudio*, std::__1::placeholders::__ph<1>&, std::__1::weak_ptr<int>&...

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