大约有 813 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0057 秒)
Laya_社区(659) Laya2.0_文档(61) Laya_示例(34) Laya2.0_示例(30) Laya3.0_文档(25) Laya3.0_api(3) Laya2.0_api(1)
...而laya.tiledmap.js的源码中是这样的 var tArray=tJsonData.tilesets; for (i=0;i < tArray.length;i++){ tileset=tArray[i]; tTileSet=new TileSet(); tTileSet.init(tileset); if (tTileSet.properties && tTileSet.properties.ignore)continue ; this._tileProperties[i]=tTileSet.tileproperties; ...
来源: Laya_社区 发布时间: 20180326
...渲染事件中,目前laya支持的Camera事件如下: ```typescript BeforeForwardOpaque = 0,//在渲染非透明物体之前 BeforeSkyBox = 2,//在渲染天空盒之前 BeforeTransparent = 4,//在渲染透明物体之 BeforeImageEffect = 6,//在后期处理之前 AfterEveryThing = 8,//所有渲...
来源: Laya2.0_文档 发布时间: 20210715
...t }; // 赋值属性 for (let i in param) data[i] = param[i]; self.visible = true; // 检测 var texture = self.$texture; if (texture) { ...
来源: Laya_社区 发布时间: 20181114
...ivate cameraEventFlag: Laya.CameraEventFlags = Laya.CameraEventFlags.BeforeImageEffect; private camera: Laya.Camera; private renders:Laya.BaseRender[] = []; private materials:Laya.Material[] = []; public static instance: CommandBuffer_Outline ; ...
来源: Laya_社区 发布时间: 20210203
...1-5431/com.ReleaseTest.Four E/ActivityThread: Failed to find provider info for com.google.settings 06-20 19:10:18.492 5371-5426/com.ReleaseTest.Four W/chromium: [WARNING:data_reduction_proxy_config.cc(318)] SPDY proxy OFF at startup 06-20 19:10:18.494 5371-5371/com.ReleaseTest.Four E/MPlugin: Unsupp...
来源: Laya_社区 发布时间: 20170620
...,200); var txt:String = ""; var tTxt:String; var tHTMLElement:HTMLElement; for(var i:int = 0,n:int = htmlDiv._childs.length;i < n;i++) { tHTMLElement = htmlDiv.getChildAt(i) as HTMLElement; if(tHTMLElement) { tTxt= tHTMLElement.text; if(tTxt) { txt += tTxt; } } } trace("文本内容为"+txt); tra...
来源: Laya_社区 发布时间: 20161027
...r; // 发布时调用编译,workSpaceDir使用publish.js里的变量 let forceCompile = !fs.existsSync(path.join(workSpaceDir, "bin", "js", "bundle.js")); // 发布时,并且没有编译过,则强制编译 if (!global.config.compile && !forceCompile) { return; } } return rollup.rollup(...
来源: Laya_社区 发布时间: 20200918
...); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.rotate(new Laya.Vector3(-38, 180, 0), false, false); camera.transform.translate(new Laya.Vector3(-5, 20, -30), false); camera.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { se...
来源: Laya_示例 发布时间: 20241002
...Options: -v, --version output the version number -h, --help output usage information Commands: compile compile project. publish publish project. help [cmd] display help for [cmd] ``` #### layaair2-cmd的帮助说明: 帮助中首先给出了命令的使用范例: ``` Usage: layaair2-cmd [command...
来源: Laya2.0_文档 发布时间: 20210715
... 方框指示的sprite3d的rotation,会导致子物体TargetGuard的transform.position不正确,好像子节点属于的坐标系变动了? 比如说,绳子不旋转的时候,我在代码中动下面圆盘的transform.positionthis.block = s.getChildByName("target_root").getChildByName("...
来源: Laya_社区 发布时间: 20171228