大约有 289 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0068 秒)
...7-07-24 11:19 大图本身就是比较耗的,不放超过2048也是为了性能考虑,你可以考虑把大图裁剪成小图,进行拼接显示,可以避免该问题的发生并且提高加载访问效率!
来源: Laya_社区 发布时间: 20170215
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIC...
来源: Laya2.0_api 发布时间: 20190513
...染优化,所以保证一个类实现丰富功能的同时,又达到高性能。 另外,在LayaAir 2D UI中,Sprite是所有节点对象的基础类,如图1-1所示,Sprite 类的基础功能会被继承到所有继承的节点对象中(由于篇幅有限,图中只列出了Sprite类部...
来源: Laya3.0_文档 发布时间: 20240528
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIC...
来源: Laya2.0_api 发布时间: 20190513
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Vie...
来源: Laya2.0_api 发布时间: 20190513
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身,还是优先检测其子对象...
来源: Laya3.0_api 发布时间: 20231102
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...
来源: Laya2.0_api 发布时间: 20190513
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身,还是优先检测其子对象...
来源: Laya3.0_api 发布时间: 20231102
...地址或者示例,我们这边具体测试下,遮罩本身比较影响性能,建议尽量少用!
来源: Laya_社区 发布时间: 20161108
...错。: onStageClick(e: Laya.Event): void { //停止事件冒泡,提高性能,当然也可以不要 e.stopPropagation(); //舞台被点击后,使用对象池创建子弹 let flyer: Laya.Sprite = Laya.Pool.getItemByCreateFun("bullet", this.bullet.create, this.bullet); flyer.pos(Laya.stage.mou...
来源: Laya_社区 发布时间: 20181130