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

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

2921. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 56%]

...lor = new Laya.Vector4(0, 1, 0, 1); var index = 0; Laya.timer.frameLoop(1, this, function () { index +=1; layaMonkey.meshRender.material.transformUV.offset = new Laya.Vector2(index 0/100.0, index 0/100.0);     layaMonkey.active = !debugModel;     layaMonkey.transform.rotate(rotation, false); ...

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

2922. Laya.Texture2D.load崩溃问题 [ 56%]

...nnPhongMaterial();   Laya.Texture2D.load("ceshi.jpg", Laya.Handler.create(this, function (texture) { material.albedoTexture = texture; })); 附件 : --> 2020-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 ...

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

2923. 粒子不能缩放? [ 56%]

...d(Sprite3D.load("part.lh")) as Sprite3D; part.once(Event.HIERARCHY_LOADED, this, function():void{        part.transform.localScale = new Vector3(3, 3, 3);  }); 2017-03-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zfree 相关...

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

2924. [LayaAir3]全屏bug [ 56%]

...ue;   设置这个必报错。作用域不对。 发生异常: TypeError: this.event is not a function 附件 : --> 2023-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: 已在3.0.9中...

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

2925. 死磕layacmd命令行系列 [ 56%]

...令后,发布的ui代码文件中loadUI这个函数的调用前面没加this。 LayaUI.max.all.ts中 2017-12-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 这个问题我们确认下,...

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

2926. 对象池使用报错 [ 56%]

...vate Board = new GiftBoard(); let board = Laya.Pool.getItemByClass("board",this.Board); 报下面这个错  cls is not a constructor 2017-12-11 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 ...

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

2927. 陀螺仪与加速计(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 56%]

...;  Laya.stage.addChild(info);     Gyroscope.instance.on(Event.CHANGE, this, onDeviceorientation); }   private function onDeviceorientation(absolute:Boolean, rotationInfo:RotationInfo):void  {  info.text =   "alpha:" + Math.floor(rotationInfo.alpha) + '\n' +  "beta :" + Math.f...

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

2928. laya.maths.Vector3_API3.0 [ 56%]

...。 Returns number 返回向量长度的平方。 normalize normalize(): this Defined in laya/maths/Vector3.ts:468 归一化向量 Returns this scale scale(s: number, out: Vector3): Vector3 Defined in laya/maths/Vector3.ts:457 缩放向量 Parameters s: number 缩放值 out: Vector3 Returns Vector3 ...

来源: Laya3.0_api 发布时间: 20231115

2929. [已经解决]清除frameLoop失败 [ 56%]

...按照上面解决方案提示错误   Laya.timer.clear 第一个参数是this   附件 : --> 2018-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 好的,有问题欢迎及时反...

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

2930. Clip属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 56%]

...Laya.loader.load([buttonSkin, clipSkin, bgSkin], laya.utils.Handler.create(this,onSkinLoaded)); } /***加载资源完成***/ private function onSkinLoaded(e:*=null):void { //显示背景图 showBg(); //创建计数器 createCounter(); //显示总数 showTotal(); //创建控制按钮 createController...

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