大约有 243 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0066 秒)
...错 window is not defined Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 1.7.15 小游戏3d 发布后在手机预览显示异常 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 小游戏项目 加载有中文的json文件 报错 问题状态 最新活动: 2018-03-...
来源: Laya_社区 发布时间: 20180115
...else{ //遍历读取到的文件列表 files.forEach(function(filename){ //获取当前文件的绝对路径 var filedir = path.join(filePath,filename); //根据文件路径获取文件信息,返回一个fs.Stats对象 fs.stat(filedir,function(eror,stats){ if(eror){ console.warn('获取文件stats...
来源: Laya_社区 发布时间: 20190613
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...camera.viewportPointToRay(point, ray); //射线检测获取所有检测碰撞到的物体 Physics.rayCastAll(ray, _outHitAllInfo, 500, 0); 这是通过屏幕当前鼠标位置获取一条射线碰撞集合,然后我又创建了一个Button,点击Button时发现射线也...
来源: Laya_社区 发布时间: 20180120