大约有 141 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya_社区(81) laya_api(14) Laya2.0_api(13) Laya3.0_文档(12) Laya2.0_文档(10) Laya3.0_api(5) Laya2.0_示例(5) Laya_示例(1)
...LE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.Construct(); this.eventListener(); } Construct() { let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let rigidbody = new Laya.RigidBody(); rigidbody.type = "static"; ground.addComponentIntance(rigidbody); let chainCollider = gr...
来源: Laya2.0_示例 发布时间: 20251130
...ll Classes | Index | Frames No Frames CheckBoxProperties | Methods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显...
来源: laya_api 发布时间: 20170929
...ale(0,0); //将原地图放大3倍 this.tMap.scale = 3; Laya.stage.on(Laya.Event.RESIZE,this,this.resize); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.resize(); } //地图加载完成的回调 private completeHandler(e: any...
来源: Laya3.0_文档 发布时间: 20251010
...platform.com/manifests/vM7nH0Kl.m3u8'); hls.attachMedia(video); hls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时...
来源: Laya2.0_文档 发布时间: 20210715
...| All Classes | Index | Frames No Frames ListProperties | Methods | Events Packagelaya.uiClasspublic class ListInheritanceList Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自...
来源: Laya2.0_api 发布时间: 20190513
...| All Classes | Index | Frames No Frames ListProperties | Methods | Events Packagelaya.uiClasspublic class ListInheritanceList Box Component Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定...
来源: laya_api 发布时间: 20170929
...aAir下如何获取图集下的小图资源? 怎么获取对象的坐标 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 问题状态 最新活动: 2018-05-29 20:11 浏览: 1177 关注: 2 人 Laya_Aaron • 2018-05-29 20:11 这是来自官网的文档,地址https://ldc.layabox.co...
来源: Laya_社区 发布时间: 20180529
...p:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arraybuff...
来源: Laya_社区 发布时间: 20171011
...quest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // priva...
来源: Laya_社区 发布时间: 20180629
... | Index | Frames No Frames ShuriKenParticle3DProperties | Methods | Events Packagelaya.d3.core.particleShuriKenClasspublic class ShuriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object ShuriKenParticle3D 3D粒子。 Public Properties Hide Inher...
来源: Laya2.0_api 发布时间: 20190513