大约有 2,539 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0311 秒)
Laya_社区(1916) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...te(this, () => { this.btn = this.createBtn(this.skin); this.btn.on(Laya.Event.CLICK, this, this.onClick); })); } /** * 创建btn */ private createBtn(skin: string): Laya.Button { let button = new Laya.Button(skin, '上传文件'); button.labelSize = 12; button.labelColors = '#000000,#000000,#0000...
来源: Laya_社区 发布时间: 20170511
... img.loadImage('images/item_5.png'); Laya.stage.addChild(img); img.on(Laya.Event.MOUSE_DOWN, img, onStartDrag); function onStartDrag(){ console.log(this); clickIndex++; msgDiv.html('图片选中了' + clickIndex + '次'); // img.startDrag(); } // Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; // Laya....
来源: Laya_社区 发布时间: 20170427
...uck.lh"); //模型与材质加载完成监听与回调 this.role3D.on(Laya.Event.HIERARCHY_LOADED,this,this.onLoadComplete); this.scene.addChild(this.role3D); //模型与材质加载完成后回调 private onLoadComplete():void{ //获取车身模型(查看.lh文件,模型中两个对象,车头...
来源: Laya_社区 发布时间: 20171109
...ass ShurikenParticleRendererInheritanceShurikenParticleRenderer BaseRender EventDispatcher Object ShurikenParticleRender 类用于创建3D粒子渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[override] [read-only...
来源: Laya2.0_api 发布时间: 20190513
...kinnedMeshRender.castShadow = true; layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var aniSprite3d = layaMonkey.getChildAt(0); var animator = aniSprite3d.getComponentByType(Laya.Animator); ani...
来源: Laya_社区 发布时间: 20180725
...window.conch.setFontFaceFromBuffer is not a function Cannot read property 'events' of undefined TypeError: Laya.MovieClip is not a constructor 问题状态 最新活动: 2020-03-10 09:40 浏览: 1595 关注: 2 人 Ame • 2020-03-10 15:54 我在第一个场景设置了autoDestroyAt=true,跳转到第...
来源: Laya_社区 发布时间: 20200309
...sky.lh", Laya.Handler.create(this, this.onLoadFinish)); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); } onLoadFinish(layaMonkey){ this.layaMonkey=this.scene.addChild(layaMonkey); // Laya.timer.frameLoop(1, this, this.onFrameLoop); } onFrameLoop(){ this.layaMonkey.transform.rotate(this....
来源: Laya_社区 发布时间: 20200903
... SkinnedMeshRendererInheritanceSkinnedMeshRenderer MeshRenderer BaseRender EventDispatcher Object SkinMeshRenderer 类用于蒙皮渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bones : Vector.<Sprite3D>[read-only] 用于...
来源: Laya2.0_api 发布时间: 20190513
...的部分代码: onAwake(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/916.mp4").then(() => { this.play(); }); }) }同时建议您将“项目设置->缩放...
来源: Laya_社区 发布时间: 20231007
...机制、时间和其他一些Timer相关的问题 graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2019-05-11 16:44 浏览: 973 关注: 2 人
来源: Laya_社区 发布时间: 20181213