• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 382 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)

371. laya.ui.List_API3.0 [ 21%]

...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

372. 3D粒子 · LayaAir3.3 · 引擎文档 · LAYABOX [ 20%]

...开启时,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 ​ Opaque:默认设置,适用于没有透明区域的普通实体对象。 ​ Cutout:允许创建在不透明和透明区域之间具有硬...

来源: Laya3.0_文档 发布时间: 20251010

373. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 20%]

...开启时,当前像素根据设定条件决定是否输出颜色 Tiling Offset:获取纹理平铺和偏移 Material Render Mode:设置渲染模式 ​ Opaque:默认设置,适用于没有透明区域的普通实体对象。 ​ Cutout:允许创建在不透明和透明区域之间具有硬...

来源: Laya3.0_文档 发布时间: 20250104

374. 射线检测-射线检测 [ 19%]

...发生碰撞"; label.pos(300, 100); label.fontSize = 60; label.color = "#40FF40"; Laya.stage.addChild(label); } } }

来源: Laya_示例 发布时间: 20251209

375. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 19%]

... 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

376. dcc下载超时 [ 18%]

... 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

377. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 16%]

...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

378. socket大型项目回调 [ 15%]

...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

379. 引擎 TiledMap 居然不支持图块翻转 [ 13%]

...    gridSprite.graphics.drawImage(tTileTexSet.texture, tX + tTileTexSet.offX, tY + tTileTexSet.offY);                                 // }                                 // else {                                 //     const offX = tX + tTileTexS...

来源: Laya_社区 发布时间: 20220627

380. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 10%]

... 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