大约有 2,612 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1996) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(33)
...| Index | Frames No Frames MeshTerrainSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainMeshSprite3D 类用于创建网格。 Public Properties...
来源: Laya2.0_api 发布时间: 20190513
...了不进行消息通信,当网断的时候是不是会触发 socket.on(Event.CLOSE, this, onSocketClose);在onSocketClose函数里处理执行逻辑对吧? 问题二:因为对H5不是很了解,想问问有没有像APP一样,直接关闭的语句,比如NativeApplication.nativeApplication...
来源: Laya_社区 发布时间: 20170206
...js:32262) at Loader._onHierarchylhLoaded (laya.d3.js:32277) at EventHandler.runWith (laya.core.js:1000) at Loader.event (laya.core.js:1039) at Loader.complete (laya.core.js:18862) at Loader.onLoaded (laya.core.js:18818) at EventHandler.runWith (laya.core.js:998) ...
来源: Laya_社区 发布时间: 20201029
...is.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete, [aniMode]); this.mFactory.loadAni(url); } private parseComplete(aniMode: number, fac: Laya.Templet): void { this.mArmature ...
来源: Laya_社区 发布时间: 20200618
...ageName) { this.imag= img; this.imageName=tempImageName; this.imag.on(Laya.Event.MOUSE_UP, this, this.hit); //this.img.on(Laya.Event.) } var _proto = Poker.prototype; _proto.show = function () { this.imag.y = 50; } _proto.hit = function () { if ( this.imag.y == 50) { this.imag.y = 150; } else if(thi...
来源: Laya_社区 发布时间: 20180130
...leX:1, scaleY:1, alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,this.onComplete); timeLine.on(Event.LABEL, this, this.onLabel); } private function onComplete():void { trace("timeLine complete!!!!"); timeLine.pause(); timeLine.destroy(); // Laya.timer.frameOnce(10, this...
来源: Laya_社区 发布时间: 20170327
...O_TOP ? this.height : 1; this.mask.addChild(this.content); this.content.on(Event.MOUSE_DOWN, this, this.onMouseDown); this.content.on(Event.MOUSE_WHEEL, this, this.onMousewheel); } this.createText = function (_content, _fontSize, _color, _width, _autoSize, _wordWrap, _ID) { var txt = new Text(); txt...
来源: Laya_社区 发布时间: 20161118
...Sprite3D).transform.position) } onStart(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } private onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.camera.) this.camera.viewportPointToRay(new Laya.Vector2(Laya.stage.mouseX,L...
来源: Laya_社区 发布时间: 20190621
...行一次 onAwake(): void { // 鼠标点击触发播放 Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/layaAir.mp4").then(() => { this.video.play(); //播放视频 }); }) } } 如果是在LayaAir IDE中运行,则VideoNode无需通过事件触发播放。但是在Chro...
来源: Laya3.0_文档 发布时间: 20241014
...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 发布时间: 20231102