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

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

921. 设置遮罩会导致内存大大增高 [ 53%]

...尽量要避免设置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

922. [LayaAir3]资源内存泄漏 [ 53%]

...eshRenderer.simpleAnimatorTexture 没有对老的进行减少引用。 4。Graphics有对材质mmaterial添加引用,没有destroy阶段减少引用。 5。Spine2DRenderNode.source 没有考虑加载回来后,当前组件被销毁问题。 6。Value2D.clear 时候没有对 textureHost进行清...

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

923. 深入理解LayaAir引擎架构和实现原理(三)引擎渲染主循环与AOP介入控制 [ 53%]

...示列表节点。默认没有宽高,默认不接受鼠标事件。通过graphics可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。同时也是容器类,可用来添加多个子节点。LayaAir引擎API设计精简巧妙。核心显示类只有一个SpriteSprite针...

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

924. 3.0.0正式版 设置默认字体后Laya.Text的长度问题 [ 53%]

...heelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 graphics alpha 问题 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2023-07-11 17:03 浏览: 3375 关注: 2 人 人月成患...

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

925. 请问 unity 导出的粒子 拖尾效果. 用到游戏 掉帧 特别厉害该怎么办 drawcall 只增不减 谢谢 [ 53%]

...是我别的代码问题 在有粒子的情况下.别的sprite每帧调用 graphics.draw 会出现这种情况 感谢您的回复

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

926. panel 90度旋转后拖拽方向与实际方向相差90度问题修正 [ 53%]

...图集加载问题 关于适配采用showAll后留白部分的颜色问题 graphics alpha 问题 关于主程序过大的问题 两个问题 有元件支援视频流渲染吗? Image元件读不了资料流 横屏模式在锁定竖屏的iphone上不能正常显示的问题 问题状态 最新活动...

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

927. 【字节小游戏】游戏中播放视频 [ 53%]

...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

928. TypeError: Cannot read property 'm_jointList' of null [ 53%]

...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

929. TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling [ 53%]

...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

930. this.bitmap.activeResource is not a function [ 53%]

...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