大约有 2,657 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0064 秒)
Laya_社区(2027) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
...platform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED, function () { video.play(); }); } plyr.setup(video); ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的: `Laya...
来源: Laya2.0_文档 发布时间: 20210714
...: 不会啊!我测试了一下并没有你说的问题! this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void { Laya.SoundManager.playSound("res/sound/onClick.wav"); } 你看看是不是你的代码逻辑有问题那? 2018-05-0...
来源: Laya_社区 发布时间: 20180503
...gelaya.d3.coreClasspublic class MeshRenderInheritanceMeshRender BaseRender EventDispatcher ObjectSubclasses SkinnedMeshRender MeshRender 类用于网格渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By boundingBox : BoundBox[read-on...
来源: laya_api 发布时间: 20170929
....terrainClasspublic class TerrainRenderInheritanceTerrainRender BaseRender EventDispatcher Object MeshRender 类用于网格渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不允...
来源: Laya2.0_api 发布时间: 20190513
...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...
来源: Laya3.0_api 发布时间: 20231115
...nt, url);// 此处最好加延迟 //监听器注册 Laya.Browser.window.addEventListener("click", (event: any) => { console.log(event.type); }) Window.open() 方法、window.postMessage()方法、Window.addEventListener()方法 3.3 container 画布 LayaAir引擎里可以通过 Laya.Browser.contai...
来源: Laya3.0_文档 发布时间: 20251010
....engine.world, this.matterBody); this.matterBody.layaSprite = this; Matter.Events.on(GameMain.instance.engine, 'beforeUpdate', (()=> { console.log("update", this.x, this.y, this.width, this.height) }).bind(this)); } 第一个打印,this.height是没有形变时候的参数,只有执行了一...
来源: Laya_社区 发布时间: 20180530
...useConstraint, ground, pyramid, ground2, pyramid2, rock, elastic]); Matter.Events.on(engine, 'afterUpdate', function() { if (mouseConstraint.mouse.button === -1 && (rock.position.x > 190 || rock.position.y 190 || rock.position.y 190 || rock.position.y < 430)) { rock = Matter.Bodies.polygon(170, 450,...
来源: Laya_示例 发布时间: 20251223
...Texture color参数无效 怎样获取浏览器地址传过来的GET参数 event自定义事件的问题 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 android 新版打包要求输入js或者json,而不是html路径 我应该如何处理 http 请求 once 的 回调参数,...
来源: Laya_社区 发布时间: 20180625
...6 var staticMesh = Laya.Sprite3D.load("tlj/tlj.lh"); staticMesh.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { sprite.transform.position = new Laya.Vector3(0,0,-100); }); 在游戏中 调整模型的位置需要在场景加载完后进行操作! 2017-03-16 1 2 分享 微...
来源: Laya_社区 发布时间: 20170316