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

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

2471. 微信关系链:LayaAir引擎针对开发数据域使用图集支持介绍 [ 45%]

...c var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听**/ public function init():void { //接收主域透传的数据 if(MiniAdpter.is...

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

2472. [LayaAir3]Laya3.3.1中一个宽高0的box运行时宽高改变了 [ 45%]

... layabox 赞同来自: 在引擎中,如果宽高不设置或者设置为null的时候,视为自动大小的宽高。   3.3的时候,考虑到box作为容器默认自适应宽高的体验更好,而做出了调整,宽高为0的时候,不再存这个宽高值,所以导致引擎视为没...

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

2473. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 45%]

...3D.RENDER_STATE_DEPTH_WRITE } var shader = Laya.Shader3D.add("BLINNPHONG", null, null, true); var subShader = new Laya.SubShader(attributeMap, uniformMap); shader.addSubShader(subShader); subShader.addShaderPass(MeshBlinnPhongVS, MeshBlinnPhongPS, stateMap); ``` > BLINNPHONG材质关联渲染通道...

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

2474. 性能测试-虫子(慎入) [ 45%]

...ler.create(this, onTextureLoaded)); } private function onTextureLoaded(e:*=null):void { maggotTexture = Laya.loader.getRes(texturePath); initMaggots(); Laya.timer.frameLoop(1, this, animate); } private function initMaggots():void { var maggotContainer:Sprite; for (var i:int = 0; i wb.x + wb.width) x...

来源: Laya2.0_示例 发布时间: 20260303

2475. 场景进行destroy销毁后,再次加载同一场景,就会报错 [ 45%]

...复 158*****796 赞同来自: TypeError: Cannot read property 'length' of null laya.core.js:13721 at Scene3D.__proto._activeHierarchy (file:///D:/H5/bin/libs/laya.core.js:13721:28)   at Scene3D.__proto._onAdded (file:///D:/H5/bin/libs/laya.core.js:13770:58)   at Scene3D.__proto._setParent (file://...

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

2476. UI-RadioGroup [ 45%]

...ler.create(this, initRadioGroups)); } private function initRadioGroups(e:*=null):void { for (var i:int = 0; i < skins.length;++i) { var rg:RadioGroup = createRadioGroup(skins[i]); rg.selectedIndex = i; rg.x = i * SPACING + X_OFFSET; rg.y = Y_OFFSET; } } private function createRadioGroup(skin:String)...

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

2477. UI-RadioGroup [ 45%]

...ler.create(this, initRadioGroups)); } private function initRadioGroups(e:*=null):void { for (var i:int = 0; i < skins.length;++i) { var rg:RadioGroup = createRadioGroup(skins[i]); rg.selectedIndex = i; rg.x = i * SPACING + X_OFFSET; rg.y = Y_OFFSET; } } private function createRadioGroup(skin:String)...

来源: Laya2.0_示例 发布时间: 20260303

2478. unity 1.7.13.3插件(unity版本5.6.3、2017.1)+1.7.13库,载入lh文件报错 [ 45%]

...。。。。。醉了 Uncaught TypeError: Cannot read property 'owner' of null at AnimationTransform3D.__proto._setLocalRotation (laya.d3.js:17222) at Array.AnimationNode._setLocalRotation (laya.d3.js:340) at Animator.__proto._onAnimationStop (laya.d3.js:22674) at Animator.__proto._updatePlayer (lay...

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

2479. 正交相机要怎么控制啊,坐标什么的全部懵!看了这个官方示例表示不懂,为什么还要转化为2D坐标? [ 45%]

...onkey.transform.rotate(rotation); }); }); Laya.stage.on(Laya.Event.RESIZE, null, function () { camera.orthographicVerticalSize = Laya.RenderState.clientHeight; }); 2017-08-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关...

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

2480. web版发布后,在浏览器运行报错 提示找不到 btCollisionObject_create [ 45%]

...库,或者用add接口。 Uncaught TypeError: Cannot read properties of null 这个报错并未复现,应该是逻辑层的,可以先自行排查,或者给一个必现的demo。 2023-04-03 0 0 分享 微博 QZONE 微信 layabox小高 赞同来自: 您好,请提供一份可复现此问题...

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