• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,539 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0311 秒)

2441. 无法触发浏览器文件上传框 [ 44%]

...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

2442. 关于laya生成的canvas定位问题导致内部事件不正确 [ 44%]

... 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

2443. 我浏览在线文档 关于共享材质和自身材质的代码 貌似没有什么不同? [ 44%]

...uck.lh"); //模型与材质加载完成监听与回调 this.role3D.on(Laya.Event.HIERARCHY_LOADED,this,this.onLoadComplete); this.scene.addChild(this.role3D); //模型与材质加载完成后回调 private onLoadComplete():void{ //获取车身模型(查看.lh文件,模型中两个对象,车头...

来源: Laya_社区 发布时间: 20171109

2444. laya.d3.core.particleShuriKen.ShurikenParticleRenderer [ 44%]

...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

2445. discard property,please use transform's property instead [ 44%]

...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

2446. TypeError: Cannot read property 'length' of null [ 44%]

...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

2447. Cannot read property 'rayCast' of undefined [ 44%]

...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

2448. laya.d3.core.SkinnedMeshRenderer [ 43%]

... 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

2449. videoNode在安卓上不能播放 [ 43%]

...的部分代码:     onAwake(): void {         Laya.stage.on(Laya.Event.MOUSE_DOWN, () => {             Laya.loader.load("resources/916.mp4").then(() => {                 this.play();             });         })     }同时建议您将“项目设置->缩放...

来源: Laya_社区 发布时间: 20231007

2450. SCALE_FIXED_WIDTH适配屏幕的问题 [ 43%]

...机制、时间和其他一些Timer相关的问题 graphics alpha 问题 event自定义事件的问题 问题状态 最新活动: 2019-05-11 16:44 浏览: 973 关注: 2 人

来源: Laya_社区 发布时间: 20181213