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

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

3011. renderType设置成instance,单例模式怎么使用的啊 [ 55%]

...关的链接 提交 1 个回复 Laya_Aaron 赞同来自: liwenhua public function GameUI():void {             super();             GameUI.instance = this;                      }   设置单例之后,runtime脚本里面就 指定一下,就ok了,免...

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

3012. 百度小程序问题 [ 55%]

...s生成出来有问题呀   Uncaught TypeError: swan.createImage is not a function     at Module.srcHTMLImageElementJs (swan-game-adapter.js:1547)     at __webpack_require__ (swan-game-adapter.js:26)     at Module.srcImageJs (swan-game-adapter.js:1697)     at __webpack_require__ (swan-game-...

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

3013. 创建材质(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 55%]

...innPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ``` ![](img/1.png)(图1) 当然,这只是简单的一...

来源: Laya2.0_文档 发布时间: 20210715

3014. laya.d3.core.render.Sprite3DRenderDeclaration_API3.0 [ 55%]

...BE_BOX_PROJECTION SHADERDEFINE_VOLUMETRICGI Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static property

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

3015. laya.d3.component.staticmesh.StaticBatchMesh_API3.0 [ 55%]

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

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

3016. IDE通过.ui自动生成的ui代码报错 [ 55%]

...摇报错,就解决方案 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-01-17 20:13 浏览: 2713 关注: 2 人 sheen • 2018-01-17 20:25 我已经改好了。。忘记之前删了一个模版。。

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

3017. 【2.0】没有drawToCanvas方法,2.0怎么做截图? [ 55%]

..._work.drawToCanvas(575, 1023, 0, 0); htmlCanvas.toBase64("image/png", 0.9, function(base64){ //trace(base64); if (!testTf){ __JS__('setWork(base64)'); } }); 2018-10-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohkei as3、as2、h5 ...

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

3018. HTMLDivElement的innerHTML里面有img标签,这张图片是一个gif图片 [ 55%]

...出现一个错误,错误提示是:Uncaught TypeError: tex.on is not a function 2018-04-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: VkonSun 目前不支持GIF动画的使用 2018-04...

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

3019. laya.ui.UIUtils_API3.0 [ 55%]

.../ui/UIUtils" UIUtils fillArray gray toColor Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method

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

3020. laya.d3.graphics.VertexDeclaration_API3.0 [ 55%]

...tCount vertexStride getVertexElementByIndex Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface

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