大约有 2,746 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1928) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(49)
...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
... layabox 赞同来自: 在引擎中,如果宽高不设置或者设置为null的时候,视为自动大小的宽高。 3.3的时候,考虑到box作为容器默认自适应宽高的体验更好,而做出了调整,宽高为0的时候,不再存这个宽高值,所以导致引擎视为没...
来源: Laya_社区 发布时间: 20250915
...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
...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
...复 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
...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
...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
...。。。。。醉了 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
...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
...库,或者用add接口。 Uncaught TypeError: Cannot read properties of null 这个报错并未复现,应该是逻辑层的,可以先自行排查,或者给一个必现的demo。 2023-04-03 0 0 分享 微博 QZONE 微信 layabox小高 赞同来自: 您好,请提供一份可复现此问题...
来源: Laya_社区 发布时间: 20230401