• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0090 秒)

161. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 87%]

...语法:{ "compilerOptions": { ...其他配置, "experimentalDecorators": true, //启用装饰器语法 }, } 但修改完配置编译的时候会报错:This syntax requires an imported helper but module 'tslib' cannot be found 开发群里有大神提供了一种解决办法: 右键 LayaAirIDE....

来源: Laya_社区 发布时间: 20201223

162. UIConfig_API3.0 [ 87%]

...ollEnable Properties Static closeDialogOnSide closeDialogOnSide: boolean = true Defined in UIConfig.ts:14 模式窗口点击边缘,是否关闭窗口,默认是关闭的 Static mouseWheelEnable mouseWheelEnable: boolean = true Defined in UIConfig.ts:6 是否开启滑轮滚动(针对滚动条)...

来源: Laya3.0_api 发布时间: 20231115

163. ”Laya.Browser.onIPad“在微信小游戏上不正确 [ 87%]

...在微信小游戏上不正确,在iPad上为false, 在iPhone上反而为true。查看了一下laya.wxmini.js中对应的代码:if (model.indexOf("iPhone") != -1) { Laya.Browser.onIPhone = true; Laya.Browser.onIOS = true; Laya.Browser.onIPad = true; Laya.Browser.onAndroid = false; } if (system.in...

来源: Laya_社区 发布时间: 20191012

164. laya.ui.View [ 87%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...

来源: laya_api 发布时间: 20170929

165. 动画-新版骨骼动画 [ 86%]

...种开发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transfor...

来源: Laya_示例 发布时间: 20240930

166. laya.ui.VScrollBar [ 86%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...

来源: Laya2.0_api 发布时间: 20190513

167. laya.ui.HScrollBar [ 86%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...

来源: Laya2.0_api 发布时间: 20190513

168. laya.ui.Label [ 86%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只...

来源: laya_api 发布时间: 20170929

169. laya.ui.Tree [ 86%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...

来源: laya_api 发布时间: 20170929

170. 3D灯光阴影无效 [ 86%]

...ctionLight.direction = new Vector3(0, -1.0, -1.0); directionLight.shadow = true; var QiPanMesh:MeshSprite3D = new MeshSprite3D(Mesh.load("qipan/qipan-qipan.lm"), "qipan"); QiPanMesh.transform.position = new Vector3(0, 0, -1); QiPanMesh.transform.rotation = new Quaternion(-1, 0, 0, 1); QiPanMesh.laye...

来源: Laya_社区 发布时间: 20170617