大约有 3,291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
...Export.cs脚本放到Unity项目中,点击状态栏的LayaAir3D-NavMesh->Export,然后会在工程目录生成一个ExportNavMesh文件夹,里面的文件就是导出的NavMesh模型obj文件 3.这时候需要将导出的obj文件利用转换工具转换成json格式的文件,让Laya读...
来源: Laya_社区 发布时间: 20201204
...=%BB%A8%D3%A1_2&from=.list.pc_1_suggest'; if(window.innerHeight>=1000)//自动排版 { this.StartLeft.top= this.StartLeft.top-100; this.StartLeft.bottom= this.StartLeft.bottom+100; this.StartRight.top= this.StartRight.top-100; this.StartRight.bottom= this.StartRight.bottom+100; } /...
来源: Laya_社区 发布时间: 20180810
...质各不相同的核心因素。 在项目资源窗口右键菜单栏 -> 选择创建 -> 选择着色器(如图2-1所示),有两种内置的2D Shader可选。 (图2-1) 2.2 应用范围 LayaAir中Shader的应用主要体现在对不同材质效果的显示,通过对不同Shader的...
来源: Laya3.0_文档 发布时间: 20251010
...例: let sp = new Laya.Sprite(); //自定义路径 let path:Array<any> = [ ["moveTo", 0, 0], //画笔移到A点 ["lineTo", 100, 0],//画到B点 ["lineTo", 100, 50],//再画到C点 ["lineTo", 0, 50], //继续画到D点 ["closePath"] //闭合路径 ]; //绘制矩形 sp.graphics.drawPath(20, 20...
来源: Laya3.0_文档 发布时间: 20251010
...果索引不再可索引范围,则终止该函数 if(index<0||index>arr.length)return; var data:Object=arr[index];//获取当前渲染条目的数据 var clip:Clip=cell.getChildByName("clip") as Clip;//获取当前渲染条目的clip组件 var check:CheckBox=cell.getChildByName("check") as C...
来源: Laya_社区 发布时间: 20170313
...scene _up _url clearFlag enableRender name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT _contextScissorPortCatch Accessors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor clientHeight clientWidth components cullingMa...
来源: Laya3.0_api 发布时间: 20231115
...问题现在无法发布对外。万谢。" rel="nofollow" target="_blank">http://ask.layabox.com/question/11761临时类库都进行过测试。现在上传的是一个只带有音乐切换代码的空项目,我做了一个线上测试地址http://116.196.75.213/index.html,点击屏幕可来...
来源: Laya_社区 发布时间: 20180525
...:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/display/Node.ts...
来源: Laya3.0_api 发布时间: 20231115
...报错,就是这里: laya.core.js的7430行 if (this._pos_+2 > this._length)throw "getUint16 error - Out of bounds"; 但是,不使用预加载,就不报错,只是不知道什么时候真的加载完成,那个_template不再为null,我就可以调用play了。 怎么解决...
来源: Laya_社区 发布时间: 20180622
...:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系上的 Y 轴坐...
来源: Laya2.0_api 发布时间: 20190513