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

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

301. [LayaNative3]new CommondBuffer 没有回收释放,每次用完,直接给置成null,每次buffermemory都会增长,不会下降 [ 61%]

...anceBufferState.destroy(); this._instanceBufferState = null;但是在下次Create的时候因为是从池子中拿出来的,所以 this._instanceBufferState 没有了 附件 : --> 归档.zip 2025-07-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

302. List选中项下滚会变 [ 61%]

... = true;//列表项是否可选 // this.sList.selectHandler = Laya.Handler.create(this,this.onSelect,null,false); this.sList.mouseHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"ServerListView",_super); var _proto_ = ServerListView.prototype; //选择...

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

303. 打包发布vivo,调试黑屏 [ 61%]

...响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION);4-在成功回调中加载场景 onVersionLoaded(): void { //激活大小图映射,加载小图的时候,如果发现小图在大图合集里面,...

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

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

...t partPath = "res/aixin_bao.part"; Laya.loader.load(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); }  onAssetsLoaded(settings) {         // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源       ...

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

305. 模型实时替换 [ 61%]

...码可以实现哦,你先把所有模型放一个数组里用Laya.loader.create先全部加载完成,在加载完成的回调里根据条件切换显示的模型就可以了 2019-07-12 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 1...

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

306. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 61%]

...Model/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm", Laya.Handler.create(this, function(mesh) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, ...

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

307. list图片路径没问题.为什么图片就是不显示.啊啊啊也,求解答 [ 61%]

...temRender = FurnitureItemCell; this._furnitureList.renderHandler = Handler.create(this, this.__renderFurnitureItem, null, false); this._furnitureList.repeatX = 5; this._furnitureList.repeatY = 3; this._furnitureList.vScrollBarSkin = ""; this._furnitureList.array = []; this..addChild(this._...

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

308. js继承模式 [ 61%]

... function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var BackGround = (function() { __extends(Class, Laya.Sprite); function Class() { Laya.Sprite.call(this); this.img = []; this.init(); } Class.prototype.init = function() {...

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

309. 使用js压缩工具报错 [ 61%]

...博 QZONE 微信 kylin 赞同来自: 第813行 Config.FunRestart=Handler.create(this,this.on重启); 定义的变量、函数名等,不要出现中文等非ASCII字符,变量的命名最好要符合规范。   LayaAirIDE里的压缩工具会分析代码,类似的中文命名的变量,通不...

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

310. U3D导出模型和动画,动画无法正常播放,预览也没有,载入场景资源提示:this._cacheAnimationNode没有Transfrom [ 61%]

...Laya项目 动画控制器没用OverrideAnimator Rig为:Generic Avatar:Create From This Model 预览挂上状态机后无法播放 强制导出场景,并加载后提示: TypeError: Cannot read property 'transform' of undefined laya.d3.js:41839 at SkinnedMeshRenderer.__proto._computeSubSkinnedD...

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