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

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

231. laya.map.GridSprite [ 85%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓...

来源: laya_api 发布时间: 20170929

232. laya.ui.Label [ 85%]

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

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

233. laya.ui.HBox [ 85%]

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

来源: laya_api 发布时间: 20170929

234. tween有这个一个bug [ 84%]

...Share,{scaleX:1.0, scaleY:1.0},400,Laya.Tween.cubicOut,0); timeLine.play(0,true); 然后循环创建依次执行ui的延迟动画 Laya.Tween.to(point,{x:point.x,y:point.y,alpha:1,update:Laya.Handler.create(point,function(){ this.visible = true; })},800,Laya.Ease.backOut,null,i*400); timeline在一...

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

235. textArea滚动条异常问题 [ 84%]

textArea滚动条异常问题 textArea在设置为可编辑(editable = true)、自动换行的情况下,即使输入足够多换行,也是无法显示滚动条皮肤,皮肤路径没有问题。 而且测试过,在项目中运行中(在输入足够多字数后)动态修改textArea的...

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

236. Config_API3.0 [ 84%]

...royResourceImmediatelyDefault destroyResourceImmediatelyDefault: boolean = true Defined in Config.ts:80 Static fixedFrames fixedFrames: boolean = true Defined in Config.ts:78 tempConfig Fixed number of frames Static isAlpha isAlpha: boolean = false Defined in Config.ts:46 设置画布是否透明,...

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

237. laya.display.Sprite [ 84%]

...getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接受...

来源: laya_api 发布时间: 20170929

238. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 84%]

... texture2D = new Laya.Texture2D(); texture2D.loadImageSource(sharedCanvas, true);   var texture = new Laya.Texture(texture2D); //texture.bitmap.alwaysChange = true; rankList.graphics.drawTexture(texture, 0, 0, sharedCanvas.width, sharedCanvas.height); 2018-10-02 0 10 分享 微博 QZONE 微信 为...

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

239. laya.d3.core.RenderableSprite3D [ 84%]

...含指定的 Node 节点对象 。 Node  destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事...

来源: laya_api 发布时间: 20170929

240. clearRes内存泄漏 [ 84%]

... OneWay 赞同来自:  Laya.loader.load(urlPath, null, null, "image", 1, true, this._group); load的时候缓存参数要设置为true才能被清理掉,不缓存的资源系统是不管理的,清理得自己处理,比如自己保存资源的引用然后销毁资源 你的加载代码改成...

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