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

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

441. 1.1.0-1.3.0版本IDE发布UI组件的runtime属性在swf运行时的问题 [ 49%]

...件的runtime属性设置后,发布的as代码里有类似代码View.regComponent("xxx.ClassName",ClassName); 1.0.4版本是这样的:View.viewClassMap["xxx.ClassName"] = ClassName; 在H5环境下运行正常,发布成swf运行会报错 报错类:laya.ui.View 报错方法:protected static ...

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

442. TypeError: Cannot read property '_byteLength' of null [ 49%]

...FontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...

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

443. 请问粒子,shader,动画缓存的优化应该如何选择 [ 48%]

...,这个哪里来的? 光明 • 2018-06-20 14:18 @Laya_Aaron: laya.d3.component.Animator 这个类的 isCache : Boolean 是否为缓存模式。 我说的动画缓存指的这个

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

444. laya.display.Node [ 48%]

...置。 Node  addChildren(... args):void 批量增加子节点 Node  addComponent(type:Class):* 添加组件。 Node  addComponentIntance(comp:Component):* 添加组件实例。 Node  addInputChild(node:Node):NodeNode  callLater(method:Function, args:Array = null):void 延迟运行指定的...

来源: Laya2.0_api 发布时间: 20190513

445. unity导出动画如何使用 root motion node [ 48%]

....GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.List`1 linkSprite) LayaExport.DataManager.getComponentsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject...

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

446. as3分包,如果在ui编辑器IDE里导入了类runtime,在分包里就会报错。这个怎么处理。 [ 48%]

...   at MailWin.__proto.createChildren (Nxsg.max.js:71310)     at MailWin.Component (Nxsg.max.js:52200)     at MailWin.Box (Nxsg.max.js:58163)     at MailWin.View (Nxsg.max.js:62736)     at MailWinUI (Nxsg.max.js:71304)     at new MailWin (eval at __proto.loadJs (Nxsg.max.js:52044), <ano...

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

447. TypeError: Cannot read property '_byteLength' of null [ 48%]

...FontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprite cannot be invoke...

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

448. 天空-天空盒 [ 48%]

...era.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //天空盒 var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox1/s...

来源: Laya_示例 发布时间: 20251130

449. 关于自定义组件使用方式 [ 48%]

...遍,因为以下操作只是其中的一部分! 1.将附件中bin/js/component文件夹中的ScaleButton.js和ScaleButton.xml文件放到下图所示的位置: 2.完成第一个步骤之后切换到文档页面,将第4个大步骤完成 3.这时组件已经能够在UI面板正常显示了,...

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

450. 脚本的事件(ActionScript-3D基础(AS3)-LayaAir3D的脚本使用) [ 48%]

...ayaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.component.Script3D))。 关于脚本的添加使用这里不做过的讲解,在以往的示例中都有或多或少的使用脚本。关于脚本的官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language...

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