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

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

641. 3D基础显示对象 · LayaAir3.4 · 引擎文档 · LAYABOX [ 51%]

...建Box网格。 * @param long 半径 * @param height 垂直层数 * @param width 水平层数 * @return */ static createBox(long: number = 1, height: number = 1, width: number = 1): Mesh 可以看到,通过 createBox 方法,可以创建Box网格,而且还可以创建不同的垂直和水平高...

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

642. 动画编辑修改任意一组其中一帧导致所有帧都被默认相同 [ 50%]

.....真坑呀。   理论上每拖拽上传的时候 每一帧的 x=0,y=0, width=(图片上传后的宽),height(图片上传后的高)。   2017-12-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 wudi199553 赞...

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

643. 使用官方文档中qrcode生成二维码的代码,打包APP后无效 [ 50%]

....createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div, { width: 100, height: 100 }); var url: string = this.URL; this.qrcode.makeCode(url); Laya.stage.once("click", this, this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); } private clickHandl...

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

644. 怎么获取手机相册内容 [ 50%]

...put"); //设置file的样式 file.style="filter:alpha(opacity=0);opacity:0;width: 150px;height:60px;"; file.type ="file";//设置类型是file类型。 file.accept="image/png";//设置文件的格式png; file.style.position ="absolute"; file.style.zIndex = 999; Browser.document.body.appendChild...

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

645. TiledMap地图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

... var viewRect:Laya.Rectangle = new Laya.Rectangle(0, 0, Laya.stage.designWidth, Laya.stage.designHeight); //创建TiledMap地图 this.tMap.createMap("resources/TiledMap/orthogonal.json", viewRect, new Laya.Handler(this, this.completeHandler)); } //添加地图到Scene2D下 private onLoaded(): void {...

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

646. 只要引入protobuf就会导致连接网络失败 [ 50%]

...lic static void loadImageViewLodingSize(Context mContext, String path, int width, int height, ImageView mImageView, int lodingImage, int errorImageView) { Glide.with(mContext).load(path).override(width, height).placeholder(lodingImage).error(errorImageView).into(mImageView); } 150*****705 • 2018-0...

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

647. CPU粒子系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...ic:静态贴图。 Texture Scale:拖尾纹理的缩放。 Size affects Width:如果启用此属性,则轨迹宽度受粒子大小影响。 Size affects Lifetime:如果启用此属性,则轨迹生命周期受粒子大小影响。 Inherit Particle Color:如果启用此属性,则轨迹...

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

648. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 49%]

...this.templet.loadAni(this.aniUrl); this.maskBox.graphics.drawRect(0,0,this.width,this.height,'#ffffff'); this.mask = this.maskBox; this.maskBox.alpha=0; // this.show(); } private parseComplete():void { //创建模式1,可以启用换装 this.skeleton =this.templet.buildArmature(1); this.skeleto...

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

649. l微信开放域无法显示,但是可以正常传数据 [ 49%]

...a.isWXPosMsg = true; //根据IDE设置初始化引擎 Laya.init(GameConfig.width, GameConfig.height,false); Laya.stage.scaleMode = GameConfig.scaleMode; Laya.stage.screenMode = GameConfig.screenMode; Laya.stage.alignV = GameConfig.alignV; Laya.stage.alignH = GameConfig.alignH; // 关于透传接口...

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

650. 物理Bodies绑定Laya.Sprite [ 49%]

...e.SCREEN_HORIZONTAL; // 始终以横屏展示 Laya.stage.scaleMode = "fixedwidth"; // 宽度不变 this.engine; var world; this.engine = Matter.Engine.create({ enableSleeping: true // 开启睡眠 }); world = this.engine.world; Matter.Engine.run(this.engine); // Engine 启动 var render = LayaRender...

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