大约有 1,398 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(1158) Laya2.0_文档(93) Laya2.0_api(64) laya_api(53) Laya3.0_文档(19) Laya3.0_api(10) Laya2.0_示例(1)
API DocumentationAll Packages | All Classes | Index | Frames No Frames PointLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class PointLightInheritancePointLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object PointLight 类用于创建...
来源: laya_api 发布时间: 20170929
...义位置: 位置1:若游戏进入前修改光标样式,可直接在index.html中定义body的style实现。 <body style="cursor:url('mouse/mouseb.png'),url('mouse/aero_unavail_xl.cur'),pointer"> 位置2:若进入游戏后修改光标样式,可通过获取body再定义style实现。 ...
来源: Laya_社区 发布时间: 20180723
...= "string") target = target.split(""); let result: any[] = target.map( (_, index: number) => index % step === 0 ? Array.from(Array(step).keys()).map((x: number) => target[index + x]) : [] ) .filter((x: any[]) => x.length > 0); if (markString) result = result.map((x: any[]) => x.join("...
来源: Laya_社区 发布时间: 20190321
API DocumentationAll Packages | All Classes | Index | Frames No Frames DirectionLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight ...
来源: laya_api 发布时间: 20170929
构建App 设置横竖屏错误与黑屏问题 1、无论我在index.html内设置了<meta name='laya' screenorientation='portrait'> 还是在 Android Studio内的 AndroidManifest.xml 设置android:screenOrientation="portrait" 都会报这个错误。查看了几个帖子 都说解决了,...
来源: Laya_社区 发布时间: 20190306
...[laya.filters.ColorFilter ](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=Filter&class=laya.filters.ColorFilter) 查看API说明。 ### 1.2 设置颜色滤镜 如果要给一个位图设置颜色滤镜,需要先设置一个颜色矩阵,然后用Colo...
来源: Laya2.0_文档 发布时间: 20210714
...源服务器URL 填写服务器地址即可,注意要在地址后加上index.js。 例如:http://192.168.31.109:8000/index.js 3.4 混淆资源 如果勾选,在打包资源的时候,会随机混淆资源,主要作用是避免在上架的时候被平台扫描到某些敏感函数。 3.5 热...
来源: Laya3.0_文档 发布时间: 20251010
...是不是发布的时候文件要从h5目录里面拉出来,像原来的index.swf,index.html同一个目录下? cuixueying • 2016-01-07 15:11 h5文件夹是独立存在的,包含h5项目的所有资源文件和代码文件,不会影响到你原项目的打包工作。
来源: Laya_社区 发布时间: 20151116
...add函数改成这样可以先用着 add(element) { var index = element._getIndexInList(); if (index !== -1) //throw "SimpleSingletonList:" + element + " has in SingletonList."; return; this._add(elem...
来源: Laya_社区 发布时间: 20191021
...:39 浏览: 2302 关注: 3 人 cuixueying • 2017-02-21 15:52 打开你的index.html,把两个引擎库的script标签删掉即可,就是matter相关的两个js文件 nvziyiqiu • 2017-02-21 17:06 @cuixueying:不好意思再打扰一下,浏览器里面没有报错了,但是LayaAir里面的...
来源: Laya_社区 发布时间: 20170221