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

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

621. 3D网格添加刚体后设置欧拉角出现位置错误 [ 43%]

...   Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         Laya.Stat.show();         this.tmpVector = new Laya.Vector3(0, 0, 0);         this.scene = Laya.stage.addChild(new Laya.Scene3D());         //初始化照相机         let camera = this.scene.addChild(new Laya.Camera(0,...

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

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

...          this.aniSpriteArray.push(sprite);         }         show () {             if (!this.visible) {                 this.visible = true;                 if (this.aniSpriteArray == null) {                     return;                 }      ...

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

623. 关于大量图片加载绘制后的内存暴增的疑问 [ 42%]

...图片的纹理 public function Demo() { Laya.init(800,1000,WebGL); Stat.show(); Laya.stage.bgColor="#EEFFCC"; //预加载图集 Laya.loader.load("res/atlas/bag.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { sp=new Sprite(); Laya.stage.addChild(sp); //...

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

624. 示例 骨骼动画换装 加不上点击事件 [ 42%]

...completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(); //Laya.timer.loop(1000, this, changeSkin); } 2017-08-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

625. laya.d3.graphics.Vertex.VertexShurikenParticleMesh [ 42%]

...VertexShurikenParticleMeshPublic Constants Hide Inherited Public Constants Show Inherited Public Constants ConstantDefined By PARTICLE_COLOR0 : int = 2[static] VertexShuriKenParticle PARTICLE_CORNERTEXTURECOORDINATE0 : int = 0[static] VertexShuriKenParticle PARTICLE_DIRECTIONTIME : int = 5[stati...

来源: Laya2.0_api 发布时间: 20190513

626. 其他引擎的Demo-Example_21 [ 42%]

...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#3da8bb"; Stat.show(); this.createCanvases(); Laya.timer.frameLoop(1, this, this.animate); Laya.stage.on('mousedown', this, this.onMouseDown); Laya.stage.on('mousemove', this, this.onMouseMove);...

来源: Laya2.0_示例 发布时间: 20260106

627. Resources already exist,is repeated loading 加载特效报重复加载 [ 42%]

...SCREEN_NONE;         //显示性能面板         Laya.Stat.show();                      //创建场景         this.scene = new Laya.Scene3D();         Laya.stage.addChild(this.scene);                     //添加相机     ...

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

628. laya.d3.graphics.Vertex.VertexShurikenParticleBillboard [ 42%]

...xShurikenParticleBillboardPublic Constants Hide Inherited Public Constants Show Inherited Public Constants ConstantDefined By PARTICLE_COLOR0 : int = 2[static] VertexShuriKenParticle PARTICLE_CORNERTEXTURECOORDINATE0 : int = 0[static] VertexShuriKenParticle PARTICLE_DIRECTIONTIME : int = 5[stati...

来源: Laya2.0_api 发布时间: 20190513

629. 真机调试 开启子域后 提示出现window is not defined [ 42%]

... console.log("排行榜") var player_rank = body.wxData.get_canvas_4_code("SHOW_PLAYER_RANK",0) var rankTexture = new Laya.Texture(sharedCanvas); rankTexture.bitmap.alwaysChange = true; var pl = new Laya.Sprite() pl.graphics.drawTexture(rankTexture, 0, 0); body.addChild(pl)  } 附件 : --> 2018-12-...

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

630. 设置遮罩(JavaScript-LayaAir基础篇(JS)-位图) [ 42%]

...debug") == "true") Laya.enableDebugPanel(); if (GameConfig.stat) Laya.Stat.show(); Laya.alertGlobalError = true; //激活资源版本控制,version.json由IDE发布功能自动生成,如果没有也不影响后续流程 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.o...

来源: Laya2.0_文档 发布时间: 20210715