大约有 3,272 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0057 秒)
...发情况), 停止执行 b 函数(行为) Laya.timer.once(2000,this,()=>{ Laya.timer.clear(this, this.b); }); [/i]//程序执行的结果是, 2s 之后 b 函数(行为) 仍然在执行, 并没有按我理解的,clear 即会停止掉该行为的执行 [i] } public b(i:number) { console.log("b ...
来源: Laya_社区 发布时间: 20200819
...J.ts:20 _shaderInstances _shaderInstances: SingletonList<ShaderInstance> Implementation of IRenderElement._shaderInstances Inherited from RenderElementOBJ._shaderInstances Defined in laya/d3/RenderObjs/RenderObj/RenderElementOBJ.ts:16 _transform _transform: Transform3D Implementation of IRende...
来源: Laya3.0_api 发布时间: 20231115
... 赞同来自: 将示例中对应的代码改成这样的: (<Sprite3D>sp3.getChildAt(0).getChildAt(0).getChildAt(1).getChildAt(0)).layer = layer; 2022-05-06 0 14 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 158*****197 相关问题...
来源: Laya_社区 发布时间: 20220506
...dc.layabox.com/demo/?category=2d&group=UI&name=List ==============> 原本想到的解决方案是,在renderHandler的回调中,对cell设置on去监听mouse事件,但是这个时候cell会拦截mouse事件,导致list无法滑动,跪求解决方案 ===========================...
来源: Laya_社区 发布时间: 20180731
...半径时,半径等于大圆的0.5的宽度(也就是半径) if (r >= this.moveMax.width/2) r = this.moveMax.width/2; var angle = Math.atan2(this.moveY - this.starY, this.moveX - this.starX); bottonX = Math.cos(angle) * r + this.starX+(this.moveMax.x - this.starX); bottonY = Math.sin(angle)...
来源: Laya_社区 发布时间: 20171030
...e调试黑屏 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 问题状态 最新活动: 2018-05-24 17:01 浏览: 1105 关注: 2 人 ippon • 2018-05-24 16:59 如你所说,内容是应该保持不变,但是在实际操作中,drawLine和drawCircle的显示比例发生了偏差...
来源: Laya_社区 发布时间: 20180524
...ew Laya.Vector3(0, 0.01, 0); onStart() { Laya.timer.frameLoop(1, this, ()=> { this.cube.transform.rotate(this.rotation, false); }); } } 效果如动图1-4所示: (动图1-4) 1.3 3D节点的进阶使用 @property( { type :Laya.Sprite3D } ) //节点类型 public p3d: Laya.Sprite3D; onAwake():...
来源: Laya3.0_文档 发布时间: 20251010
...laya/test/bin/js/LayaAir3D.js:24:34) at Shader_Terrain.<anonymous> (file:///Users/xutao/Documents/laya/test/bin/js/LayaAir3D.js:18:18) at EventHandler.__proto.runWith (file:///Users/xutao/Documents/laya/test/bin/libs/laya.core.js:713:27) at Scene.__proto.event (file:///Users/...
来源: Laya_社区 发布时间: 20180403
...请问下加载TFF字体要怎么加载呢? LayaFlash:求ByteArray.jas ->readMultiByte对gb2312的实现翻译 问题状态 最新活动: 2019-10-17 09:39 浏览: 2849 关注: 7 人 十分滑稽 • 2019-08-08 10:10 新建,模版文件里面有个脚本的选项 月九 • 2018-12-14 18:57 ...
来源: Laya_社区 发布时间: 20181210
...文件 报错 真机调试报错:LayaPlayer不支持的标签</SCRIPT> IDE通过.ui自动生成的ui代码报错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 本地调试加载本地图片都报错 自定义场景类导出layaMaxUI.ts有前缀导致报错 laya2 ...
来源: Laya_社区 发布时间: 20190416