大约有 224 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0119 秒)
Laya3.0_api(69) Laya3.0_文档(49) Laya2.0_api(43) laya_api(33) Laya_社区(25) Laya2.0_文档(3) Laya2.0_示例(1) Laya_示例(1)
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDisp...
来源: Laya2.0_api 发布时间: 20190513
...ox,{x:-Laya.Browser.width},1000,null,aaa,0,false);aaa是一个测试方法 load 加载完图集 回调函数可以传形参吗? socket监听 创建树Tree 该怎么回调mouseHandler 形参该传什么 Laya.loader.create 进度回调函数执行两次 本人想做个批量加载json文件,然后...
来源: Laya_社区 发布时间: 20180119
...lobalToLocal gotoAndStop hasHideFlag hasListener hitTestPoint isAncestorOf load loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play playTo pos reCache removeChild removeChildAt removeChildByName removeChildren remov...
来源: Laya3.0_api 发布时间: 20231115
...ult@MergeProfile... after 3 ms > hvigor Finished :entry:default@GenerateLoaderJson... after 17 ms > hvigor Finished :entry:default@ConfigureCmake... after 28 ms > hvigor Finished :libSysCapabilities:default@BuildNativeWithNinja... after 2 ms > hvigor Finished :entry:default@MakePackInfo....
来源: Laya_社区 发布时间: 20250106
...ouseX mouseY muted numChildren parent paused pivotX pivotY playbackRate preload readyState rotation scaleX scaleY scene scrollRect seekable seeking skewX skewY stage staticCache texture timer transform url videoHeight videoWidth viewport visible volume width x y zOrder Methods _initialize _processAc...
来源: Laya3.0_api 发布时间: 20231102
...画的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 example 以下示例代码,创建了一个 Text 实例。 package { import laya.display.Animatio...
来源: Laya3.0_api 发布时间: 20231115
... get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf load loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint paused pivot play playbackRate pos reCache removeChild removeChildAt removeChildByName removeC...
来源: Laya3.0_api 发布时间: 20231115
...Jump():Boolean当前小游戏环境是否支持游戏跳转功能AdvImage loadImage(url:String, complete:Handler = null):Sprite 加载并显示一个图片。相当于加载图片后,设置texture属性 注意:2.0改动:多次调用,只会显示一个图片(1.0会显示多个图片),x,y...
来源: Laya2.0_api 发布时间: 20190513
..., offset || Point.EMPTY, color)); else return null; } 代码示例: Laya.loader.load("resources/layaAir.png").then((res: Laya.Texture) => { let sp = new Laya.Sprite(); // 绘制填充纹理 sp.graphics.fillTexture(res, 0, 0, 500, 500, "repeat"); this.owner.addChild(sp); }); 运行效果: (...
来源: Laya3.0_文档 发布时间: 20251010
...ouseX mouseY muted numChildren parent paused pivotX pivotY playbackRate preload readyState rotation scaleX scaleY scene scrollRect seekable seeking skewX skewY source stage staticCache texture timer transform url videoHeight videoTexture videoWidth viewport visible volume width x y zOrder Methods _i...
来源: Laya3.0_api 发布时间: 20231115