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

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

2261. 关于自定义Shader中使用 u_AmbientColor 这个Uniform变量的问题 [ 48%]

...样使用Laya.Tween.to来做缓动呢?比如position或者scale Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信...

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

2262. ReferenceError: Loading_fly is not defined [ 48%]

...2.0.0beta5.1 发布官方示例 真机报错 window is not defined Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 引用了laya.physics3D.runtime.js后报enum_btConstraintParams_BT_CONSTRAINT_ERP is not defined exports is not defined (js篇) layaair-cmd 编译提示 Refer...

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

2263. 一个修复Laya1.8.3中的粒子销毁时报错黑屏问题的思路 [ 48%]

...rEach((buffer, index) => { if (buffer && buffer.deleted) { Laya.WebGL.mainContext.disableVertexAttribArray(index); attrs[index] = null; } }); while (attrs.length > 0 && attrs[attrs.length - 1] == null) attrs.pop(); } }; let $bufferRecreateResource = Laya.Buffer.prototype['recre...

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

2264. https://ask.layabox.com/question/7426 这个问题,我现在调整了算法,还是实现不了,,遮罩弄最小,也会导致 旁边的牌截掉了 [ 48%]

...: 与内容相关的链接 提交 4 个回复 wuzhen5201314 赞同来自: webgl也报错了,下周发新版加速器做了修复。但是同时需要项目层改一下算法,现在的drawPath某些角度是bounds太大了,暂时需要你们项目控制一下  这个是你们同事发的,,...

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

2265. 那个文本溢出需要滚动条怎么弄,API里面就说用Scroll接口,小白 不懂怎么弄 [ 48%]

...-25 0 0 分享 微博 QZONE 微信 hj 赞同来自: Laya.init(500,400,Laya.WebGL);createText();function createText(){this.txt = new Laya.Text();this.txt.overflow = Laya.Text.SCROLL;this.txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发行商,面向AS/JS/TS开发者提供HTML5...

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

2266. laya.d3.core.scene.BaseScene [ 48%]

...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式有最大2048大小限制,会额外增加内...

来源: laya_api 发布时间: 20170422

2267. laya.ui.CheckBox [ 48%]

...任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,...

来源: Laya2.0_api 发布时间: 20190513

2268. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 48%]

...annot set property 'y' of null"的解决方案 matter 物理引擎 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 问题状态 最新活动: 2019-07-04 11:38 浏览: 2542 关注: 1 人

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

2269. 微信小游戏,横屏,小游戏不全屏显示 [ 48%]

...放                   这种模式下的Laya.init(width,height, WebGL);高度一般是不对的,需要计算   b.横屏思路:                    Laya.stage.scaleMode  "fixedheight" :高度不变,宽度根据屏幕比缩放;   你使用的是默认值为 "noscale",...

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

2270. laya2.0 IDE继承自定义类要怎么写? [ 48%]

...t TypeError: Cannot read property 'btCollisionObject' of undefined Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? laya2.0引入第三方库失败 laya2.0 3d物理碰撞穿透问题 mac 用layaair2.0 ide 的编辑模式下,cpu爆满 自定义场景类导出layaMaxUI.ts...

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