大约有 1,017 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)
Laya_社区(720) Laya3.0_api(64) Laya2.0_api(59) laya_api(56) Laya2.0_文档(43) Laya2.0_示例(32) Laya_示例(32) Laya3.0_文档(11)
...尽量要避免设置mask,成本比较高,这个需求也可以通过 graphics的drawTriangles来实现drawTriangles(texture:Texture, x:number, y:number, vertices:Float32Array, uvs:Float32Array, indices:Uint16Array, matrix:Matrix = null, alpha:number = 1, color:string = null, blendMode:string = ...
来源: Laya_社区 发布时间: 20190704
...eshRenderer.simpleAnimatorTexture 没有对老的进行减少引用。 4。Graphics有对材质mmaterial添加引用,没有destroy阶段减少引用。 5。Spine2DRenderNode.source 没有考虑加载回来后,当前组件被销毁问题。 6。Value2D.clear 时候没有对 textureHost进行清...
来源: Laya_社区 发布时间: 20241230
...示列表节点。默认没有宽高,默认不接受鼠标事件。通过graphics可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。同时也是容器类,可用来添加多个子节点。LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针...
来源: Laya_社区 发布时间: 20200925
...heelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 graphics alpha 问题 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2023-07-11 17:03 浏览: 3375 关注: 2 人 人月成患...
来源: Laya_社区 发布时间: 20230703
...是我别的代码问题 在有粒子的情况下.别的sprite每帧调用 graphics.draw 会出现这种情况 感谢您的回复
来源: Laya_社区 发布时间: 20181026
...图集加载问题 关于适配采用showAll后留白部分的颜色问题 graphics alpha 问题 关于主程序过大的问题 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动...
来源: Laya_社区 发布时间: 20201216
...d(reference); reference.pos(100, 100); reference.size(600, 400); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); // 每次舞台尺寸变更时,都会调用Utils.fitDOMElementInArea设置Video的位置,对齐的位置和refence重合 Laya.stage.on(Laya.Event.RESI...
来源: Laya_社区 发布时间: 20200909
...peError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' TypeError: Laya.MovieClip is not...
来源: Laya_社区 发布时间: 20190418
...peError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoked without 'new' 添加组件PhysicsCollider 时...
来源: Laya_社区 发布时间: 20181210
...haredCanvas.width,Laya.Browser.window.sharedCanvas.height); this._openZone.graphics.drawTexture(this._openZoneTexture,0,0,this._openZoneTexture.width,this._openZoneTexture.height,new Laya.Matrix(scaleX,0,0,scaleY)); } } 接字节跳动小游戏,绘制开放域排行榜时报this.bitmap.activeResou...
来源: Laya_社区 发布时间: 20200618