大约有 618 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0052 秒)
Laya_社区(259) Laya2.0_api(123) laya_api(96) Laya_示例(56) Laya2.0_示例(44) Laya2.0_文档(26) Laya3.0_文档(8) Laya3.0_api(6)
...持物理世界不变PhysicsPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Physics()Physics enable(options:Object = null):void[static] 开启物理世界 options值参考如下: allowSleeping:true, gravity:10, customUpdate:false 自己控制物...
来源: Laya2.0_api 发布时间: 20190513
... 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
... this.aniSpriteArray.push(sprite); } show () { if (!this.visible) { this.visible = true; if (this.aniSpriteArray == null) { return; } ...
来源: Laya_社区 发布时间: 20220627
...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
...图片的纹理 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
...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_示例 发布时间: 20241119
...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
...SCREEN_NONE; //显示性能面板 Laya.Stat.show(); //创建场景 this.scene = new Laya.Scene3D(); Laya.stage.addChild(this.scene); //添加相机 ...
来源: Laya_社区 发布时间: 20190509
...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
... 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