大约有 3,003 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)
Laya_社区(1068) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(109)
API DocumentationAll Packages | All Classes | Index | Frames No Frames Matrix3x3Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix3x3InheritanceMatrix3x3 ObjectImplements laya.d3.core.IClone Matrix3x3 类用于创建3x3矩阵。 Public Properties PropertyDefined ...
来源: Laya2.0_api 发布时间: 20190513
...IDE3 - 新UI系统。 我想自己对新的UI系统包装一层,比如:class CButton extends GButton {} 以便后续项目有特别需求的时候,能够统一在如CButton类中统一处理。 我目前遇到的问题是: 1. 自定义的UI组件,如何在IDE中显示出来,便于可视...
来源: Laya_社区 发布时间: 20251223
...两个参考系不一样,最后计算出来的3d点有错误。可以在class input3D类的_update方法内进行坐标转换的地方照下图进行下处理: 2022-07-26 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回...
来源: Laya_社区 发布时间: 20220721
...ackage { import laya.wx.mini.MiniAdpter; /** * ... * @author lin */ public class ZeroWXAdpter { static public function init():void { MiniAdpter.window.wx.onShow(onShow); MiniAdpter.window.wx.onHide(onHide); } static private function onShow(res):void { console.warn("小游戏回到前台", res); } st...
来源: Laya_社区 发布时间: 20180726
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_CollisionEvent { constructor() { this.count = 7; this.bodys = []; this.touching = []; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya....
来源: Laya2.0_示例 发布时间: 20260303
...何判断是否停止定时器? 在pc上时,做个简单的测试, class TestUI extends ui.test.TestPageUI { constructor() { super(); this.stage.on(Laya.Event.FOCUS, this, this.onFocus); this.stage.on(Laya.Event.BLUR, this, this.onBlu...
来源: Laya_社区 发布时间: 20180724
...过场景编辑器编辑UI界面,定义一个image的var为testBut,在class中继承ui,使用this.testBut调用该var时,报错为:undefined,检查layaMaxUI中有该var属性,使用this.testBut时IDE也未报错,请问如何解决 2018-10-12 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20181012
...scale属性,进行拉伸!package { import laya.display.Sprite; public class LayaAirDemo { private var sp:Sprite; private var endX:Number; private var endY:Number; public function LayaAirDemo() { Laya.init(600,600); sp=new Sprite(); Laya.stage.addChild(sp); endX=0; endY=0; sp.graphics.drawLine(10...
来源: Laya_社区 发布时间: 20170418
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerProperties | Methods | Events Packagelaya.aniClasspublic class AnimationPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 类用于动画播放器。...
来源: Laya2.0_api 发布时间: 20190513
...模式,2.0默认文件模式。ui导出类 最上面有注释: /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ 如果检测编辑界面有改动的话运行的时候会重新生成该类。 2019-09-02 1 1 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20190902