大约有 2,541 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0118 秒)
Laya_社区(1918) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...platform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时...
来源: Laya2.0_文档 发布时间: 20210715
...vScrollBarSkin都需要赋值; this.uiPanel.RankList.scrollBar.on( Laya.Event.CHANGE, this, this.OnScroll ); private OnScroll() { this.uiPanel.RankList1.scrollBar.value = this.uiPanel.RankList.scrollBar.value; } 2018-05-16 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要...
来源: Laya_社区 发布时间: 20180515
...("../../res/models/cike.lh"); _scene3d.addChild(_disObj3d); _disObj3d.once(Event.HIERARCHY_LOADED, null, function(sender:Sprite3D):void { var ms:MeshSprite3D = _disObj3d.getChildByName("mod_CiKeZhuangBei_Body_03") as MeshSprite3D; if(ms) { trace("length " ...
来源: Laya_社区 发布时间: 20170101
... 写了个边缘光的自定义shader,有很多问题,帮忙看一下 event自定义事件的问题 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 问题状态 最新活动: 2018-05-31 10:42 浏览: 634 关注: 2 人 smile • 2018-05-31 11:01 我wav和mp3格式都试了,播放...
来源: Laya_社区 发布时间: 20180531
...界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGri...
来源: Laya2.0_文档 发布时间: 20210714
...re.trailClasspublic class TrailRendererInheritanceTrailRenderer BaseRender EventDispatcher Object TrailRenderer 类用于创建拖尾渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读...
来源: Laya2.0_api 发布时间: 20190513
...on图集加载问题 3D模型tween旋转 关于apk打包动画卡的问题 event自定义事件的问题 问题状态 最新活动: 2019-12-30 16:01 浏览: 1385 关注: 2 人 156*****551 • 2019-12-31 13:28 多谢!
来源: Laya_社区 发布时间: 20191230
...这样载入场景问题出现在哪呢?? (此问题已经无效) event自定义事件的问题 问题状态 最新活动: 2019-06-09 00:49 浏览: 1906 关注: 5 人 138*****161 • 2019-06-10 10:16 1212 138*****161 • 2019-06-10 10:16 简单分享一下分包的处理方式,目前以2.0...
来源: Laya_社区 发布时间: 20190608
... this.addChild(mesh); mesh.on(Event.HIERARCHY_LOADED, this, this.OnHierarchyLoaded); let ani_names = this.ani_names; let anies = this.anies; for (let name in ani_...
来源: Laya_社区 发布时间: 20170608
...部对齐的所有UI的Y轴坐标及高度进行调整 Laya.stage.on(Laya.Event.RESIZE, this, this.onResize); 调整方法为,根据IDE里该UI的对齐模式相应调整。比如让UI始终按照预期的顶部对齐、底部对齐 实践方法:重载引擎的resetLayoutY方法 基本思...
来源: Laya_社区 发布时间: 20180404