大约有 382 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
Laya_社区(258) Laya2.0_文档(42) Laya3.0_文档(24) Laya_示例(22) Laya2.0_示例(19) Laya3.0_api(10) Laya2.0_api(6) laya_api(1)
...nds Box { public function Item() { graphics.drawRect(0, 0, 100, 20,null, "#ff0000"); var label:Label = new Label(); label.text = "100000"; label.name = "label";//设置 label 的name属性值。 label.size(100, 20); addChild(label); } } example (function (_super){ function Item(){ Item.__super.call(...
来源: Laya3.0_api 发布时间: 20231115
...开启时,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 Opaque:默认设置,适用于没有透明区域的普通实体对象。 Cutout:允许创建在不透明和透明区域之间具有硬...
来源: Laya3.0_文档 发布时间: 20251010
...开启时,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 Opaque:默认设置,适用于没有透明区域的普通实体对象。 Cutout:允许创建在不透明和透明区域之间具有硬...
来源: Laya3.0_文档 发布时间: 20250104
...发生碰撞"; label.pos(300, 100); label.fontSize = 60; label.color = "#40FF40"; Laya.stage.addChild(label); } } }
来源: Laya_示例 发布时间: 20251209
... in.js I/LayaBox: found the file in the package:cache/stand.alone.version/1ffa1cdf I/LayaBox: HTMLScriptElement set srchttp://stand.alone.version/lib ... in.js I/LayaBox: _downloadAysn:temp.srchttp://stand.alone.version/lib ... in.js I/LayaBox: found the file in the package:cache/stand.alone.ver...
来源: Laya_社区 发布时间: 20171218
... 20:55:27.291: E/(7884): m_pPlatform = layaair.game.Market.MarketTest@89945ff 07-04 20:55:27.337: I/LayaBox(7884): setLocalizable:0 07-04 20:55:27.337: I/LayaBox(7884): JNI setIsPlug:0 07-04 20:55:27.337: I/LayaBox(7884): JNI seturl:http://engine.develop.monitor.com/wheat/index.js 07-04 20:55:...
来源: Laya_社区 发布时间: 20190704
...Sprite(); sprite.addChild(mask); mask.graphics.drawCircle(200, 200, 100, "#FFFFFF"); //图片添加遮罩 setTimeout(() => { sprite.mask = mask;//等待1秒执行遮罩 }, 1000); 运行效果如下: (动图3-5) 3.4.6 设置点击区hitArea 鼠标操作相关属性较多,但是代码的使...
来源: Laya3.0_文档 发布时间: 20251010
...outId:any = null; private handshakeCallback:any = null; private handshakeBuffer:any; private initCallback:Function = null; private _callbacks:any = {}; private reqId:number = 0; private _package:IPackage; private _message:IMessage; constructor(){ if(!console.group){ console.group = console.log; cons...
来源: Laya_社区 发布时间: 20180119
... gridSprite.graphics.drawImage(tTileTexSet.texture, tX + tTileTexSet.offX, tY + tTileTexSet.offY); // } // else { // const offX = tX + tTileTexS...
来源: Laya_社区 发布时间: 20220627
... var a: Laya.Sprite = new Laya.Sprite(); a.graphics.drawCircle(0, 0, 50, "#ff0000"); Laya.stage.addChild(a); a.size(100, 100); a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("touch a"); } 因为需...
来源: Laya_社区 发布时间: 20161109