大约有 69 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
... Button_Example { public function Button_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/button.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete()...
来源: Laya3.0_api 发布时间: 20231115
[LayaAirIDE3]在一定条件下,设置colorFilter的contrast没用 设置一个sprite的contrast为-100时,本该使得sprite变成灰色,但是在一定条件下,设置contrast为-100后会什么都不发生: 首先给一个sprite赋予texture 然后给sprite赋予1个以上的filter 最...
来源: Laya_社区 发布时间: 20240701
...问题了 QQ玩一玩, Laya.stage.designHeight 和 Laya.stage.designWidth 设置无效 QQ 玩一玩 laya.bkadpter.js (新的版本) 报错 QQ玩一玩播放音频问题 1.7.17beta版QQ玩一玩导出后加载资源报错 Laya 1.7.17导出玩一玩,Label描边会报错 QQ玩一玩 API 中没有 BKL...
来源: Laya_社区 发布时间: 20180803
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Implementation of ISelect._url Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Implementation of ISelect.autoSize Inherited from Text.autoSize D...
来源: Laya3.0_api 发布时间: 20231115
...oup_Example { public function RadioGroup_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...
来源: Laya3.0_api 发布时间: 20231115
...open(closeOther, param) if (complete) complete.runWith(nextScene) // 重新设置loadingPage 并隐藏 Laya.Scene.setLoadingPage(this._loadScene) Laya.Scene.hideLoadingPage() }) } /** * 打开场景 * otherHandler 会阻塞 loadScene * ohterHandler 执行成功后执行 loadScene * @param {String} u...
来源: Laya_社区 发布时间: 20181124
... class Tab_Example { public function Tab_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/tab.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete()...
来源: Laya3.0_api 发布时间: 20231115
.... 加入了正交相机开关orthographic。 2.2.3 运行时调整参数:设置点击事件与穿透控制 操作Sprite节点,除了常规节点的位移,旋转和缩放.还能够动态设置层级关系zOrder,锚点,尺寸 此外还有开发中经常需要用到的设置点击事件与穿透控...
来源: Laya3.0_文档 发布时间: 20240910
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115