大约有 2,612 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0068 秒)
Laya_社区(1996) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(33)
...得材质,而lh文件则不行,然而这样写的话,又出现了Laya.Event.HIERARCHY_LOADED事件并没有被触发,导致无法在Laya.Event.HIERARCHY_LOADED事件运行的方法里获得材质,只能使用延时来获得材质 150*****372 • 2017-04-23 11:28 对于第二个问题的解...
来源: Laya_社区 发布时间: 20170422
...stSp.graphics.drawCircle(100, 100, 20, null, "ffffff"); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.MouseWheel); this._rootSp.hitArea = new Laya.Rectangle(0, 0, 10000, 10000) this._rootSp.addChild(this.firstSp); Laya.stage.addChild(this._rootSp); } private MouseWheel(e: Laya.Event) { let xs...
来源: Laya_社区 发布时间: 20190314
...i(`../bin/res/spine_model/${spine}.sk`); this._factory.on(Laya.Event.COMPLETE, this, this.parseComplete, [x, y]); } private parseComplete(x, y) { this._factory.off(Laya.Event.COMPLETE, this, this.parseComplete); var sprite = this._factory.buildArmature...
来源: Laya_社区 发布时间: 20161108
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...tHeader('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); console.log("-----------------send------------------", url); xhr.send(url, "", "get", "arraybuffer"); 2018-07-04...
来源: Laya_社区 发布时间: 20180704
... function(){console.log("http timeout test: timeout")}; hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");}); hr.once(Laya.Event.ERROR, this, (e: any)=>{console.log("http timeout test: error " + e.toString());}); console.log("http timeout test:...
来源: Laya_社区 发布时间: 20171016
....ImgX=this.Img.x; this.ImgY =this.Img.y; this.layout(); Laya.stage.on(Laya.Event.RESIZE, this, this.layout); Laya.stage.on(Laya.Event.ADDED, this, this.layout); layout(){ var bWidth:number = Browser.width; //浏览器的宽 var bHeight:number = Browser.height;//浏览器的高 var wRatio:numbe...
来源: Laya_社区 发布时间: 20181123
..._jiesan.png"); button.pos(300, 0); this.roombg.addChild(button); button.on(Event.MOUSE_DOWN, this, function (e) { list.addItem(1); }); function Item() { Item.__super.call(this); this.size(416, 270); this.text = new Text(); this.text.fontSize = 20; this.text.pos(12, 5); this.text.color = "#FF00FF"; t...
来源: Laya_社区 发布时间: 20170920
...lasses | Index | Frames No Frames TerrainChunkProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainChunkInheritanceTerrainChunk RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainChunk 类用于创建地块。 Public Properties Hide Inherited Public Propert...
来源: Laya2.0_api 发布时间: 20190513
...| Index | Frames No Frames SkinnedMeshSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class SkinnedMeshSprite3DInheritanceSkinnedMeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object SkinnedMeshSprite3D 类用于创建网格。 Public Properties...
来源: Laya2.0_api 发布时间: 20190513