大约有 1,830 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0224 秒)
Laya_社区(1470) Laya3.0_api(102) Laya2.0_文档(77) Laya2.0_api(64) Laya2.0_示例(37) Laya_示例(36) Laya3.0_文档(35) laya_api(9)
...ODBatchSubMesh[]): void Defined in laya/d3/component/HLOD/HLODBatchMesh.ts:50 合批子mesh信息 Returns HLODBatchSubMesh[] Defined in laya/d3/component/HLOD/HLODBatchMesh.ts:46 合批子mesh信息 Parameters value: HLODBatchSubMesh[] Returns void bufferState get bufferState(): BufferState set buff...
来源: Laya3.0_api 发布时间: 20231115
...Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).scale(......
来源: Laya2.0_api 发布时间: 20190513
... 2019-09-25 11:31 浏览: 2675 关注: 3 人 188*****784 • 2019-09-25 11:50 从layaAir2.1升级到2.2后,打开项目类库管理选择了2.2,微信开发者工具勾选es6转es5,会抛出异常: VM282 WAGame.js:1 Uncaught TypeError: Class constructor Component cannot be invoked without 'n...
来源: Laya_社区 发布时间: 20190812
...ge.addChild(btn); //设置Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } ``` 上述代码运行效果如动图2所示:  (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaair2.ldc2.layabox.co...
来源: Laya2.0_文档 发布时间: 20210714
...注册了任何侦听器。 EventDispatcher hideLoadingPage(delay:int = 500):void[static] 隐藏loading界面 Scene hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispa...
来源: Laya2.0_api 发布时间: 20190513
...g 'compile'... { Error: D:/Workspace/LayaTest/demo010/src/script/GameUI.ts(50,17): semantic error TS2339: [31mProperty 'transform' does not exist on type 'Node'.[39m at error (D:\Software\Develop\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:9402:30) at Object.error (D:\Software\Develo...
来源: Laya_社区 发布时间: 20211009
...omplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.destroy(); this.te = null; this.sk.destroy(); this.sk = null; } } } private teComplete():void{ this.sk = this.te.buildArmature(0); this.sk.x = 400; this.sk.y = 700; this.s...
来源: Laya_社区 发布时间: 20190320
...ge.addChild(btn); //设置Button相关属性 btn.width = 100; btn.height = 50; btn.pos(100,100); btn.label = "按钮"; } } new GameMain(); ``` 上述代码运行效果如动图2所示:  (动图2) **Tips:** Button 组件的属性接口介绍请参考 [Button API](https://layaai...
来源: Laya2.0_文档 发布时间: 20210714
...动画和节奏的一个加速! 问题状态 最新活动: 2018-07-24 17:50 浏览: 2020 关注: 2 人 淡淡的疯 • 2018-07-24 20:33 我改用 animator 动画 报如下错误,这个是导出哪里需要设置吗,run的时候也是这个错误,实在不知道是什么原因 laya.d3.js:181...
来源: Laya_社区 发布时间: 20180724
... 2018-07-03 12:03 我按照你这个再试试 Laya_Aaron • 2018-07-03 13:50 可以加载了吗?如果还是不行可以继续回帖 158*****395 • 2018-07-03 14:02 @Laya_Aaron:可以了, 我加载出来lh文件了,但是这个lh文件包括了8个模型,现在8个模型都显示出来了,但是...
来源: Laya_社区 发布时间: 20180702