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

大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)

3231. 从Unity中编辑并导出摄像机(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 47%]

... class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(1000, 500,true); //适配模式 Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); //预加载角色动画资源 Laya.loader.create("monkey/monkey.ls",Laya.Handler...

来源: Laya2.0_文档 发布时间: 20210715

3232. 最新版LayaAir IDE 2.2.0beta4的几个问题 [ 47%]

...11:32 问题2我又仔细测试了下,发现只要 rigidBody.isKinematic=true; 则不触发碰撞 xxj • 2019-08-22 10:51 谢谢,明白了 骄阳 • 2019-08-22 19:43 DebugPanel不能打开:出现以下错误: ReferenceError: laya is not defined preload.js:55 at file:///E:/Laya/QPlane2/bin/li...

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

3233. Laya api 中可能的bug [官方来看] [ 47%]

...alue); if (this._parent){ value && this._parent._set$P("hasZorder",true); Laya.timer.callLater(this._parent,[b]this._parent.updateZOrder[/b]);//Laya.timer.callLater(this._parent,this.updateZOrder); } } }); 之前官方是 Laya.timer.callLater(this._parent,this.updateZOrder); 我改完是 Lay...

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

3234. 创建动画时画布的width和height与 实例化后的ani.size(width, height) 有什么区别 [ 47%]

...niBirdSing.width, this.aniBirdSing.height); this.aniBirdSing.mouseEnable = true; Laya.stage.addChild(this.aniBirdSing); } 根据这个代码,我认为鼠标点击区域在图片左下区域,但结果是图片左上区域,求解? 如果我想让图片的点击区域是图片左下区域,应...

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

3235. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 47%]

...false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=true; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("script/LoginScene.ts",LoginScene); } } GameConfig.init();     然后我不理会LayaMaxUI直接弄个LoginScene 运行就出现错误...

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

3236. 有些模型load之后,MeshSprite3D 的共享材质个数为0,无法对材质进行操作 [ 47%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 如何获取一个3D模型的长宽高? 模型资源释放问题 问题状态 最新活动: 2017-04-22 00:12 浏览: 1492 关注: 5 人 leeq3000 • 2017-01-03 19:21 好我试试

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

3237. 预览服务 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...”之间进行权衡。 类型与默认值 类型:布尔值 默认值:true 5. 测试语言(testLanguage) testLanguage 用于指定预览时使用的语言环境,主要面向多语言项目的测试需求。通过该配置,可以在不修改代码或资源配置的情况下,快速切...

来源: Laya3.0_文档 发布时间: 20260128

3238. 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function [ 47%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 导微信小程序报错window.focus is not a function list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值。 问题状态 最新活动: 2021-...

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

3239. Laya 集成Box2d 可以么?着急 [ 46%]

...extture = new Laya.Texture(canvas);     textture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新     Laya.stage.graphics.drawTexture(textture);     debugDraw.SetSprite(ctx);     debugDraw.SetDrawScale(30.0);     debugDraw.SetFillAlpha(0.3);     debugDr...

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

3240. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 46%]

...proto.move = function(x,y){ // this.x = x; // this.y = y; // this.visible =true; this.render(); this.mountain.pos(x,y); this.aeroboat.x = x; this.aeroboat.y = y; this.tower.x = x; this.tower.y = y; this.ball.x = x; this.ball.y = y; this.statue.x = x; this.statue.y = y; this.angel.x = x; this.angel.y...

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