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

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

171. laya.html.dom.HTMLIframeElement_API3.0 [ 54%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身,还是优先检测其子对象...

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

172. laya.display.Input [ 53%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...

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

173. laya.html.dom.HTMLDivElement_API3.0 [ 53%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优先检测自身,还是优先检测其子对象...

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

174. 添加mask导致不支持webgl的手机 ,动画卡顿 [ 53%]

...地址或者示例,我们这边具体测试下,遮罩本身比较影响性能,建议尽量少用!

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

175. bug,ChainCollider.points第二次设置,会报错! [ 53%]

...错。: 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

176. laya.physics.PhysicsDebugDraw_API3.0 [ 53%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...

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

177. laya.display.Stage [ 53%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定...

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

178. laya.map.TileAniSprite_API3.0 [ 52%]

...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...

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

179. laya.display.Sprite_API3.0 [ 52%]

...染优化,所以保证一个类实现丰富功能的同时,又达到高性能。 example 创建了一个 Sprite 实例。 package { import laya.display.Sprite; import laya.events.Event; public class Sprite_Example { private var sprite:Sprite; private var shape:Sprite public function Sprite_Examp...

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

180. 设置了viewport之后 子对象的y值必须大于0 这个是bug吗 [ 52%]

...想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将不渲染 srollRect和viewport的区别: 1.srollRect自带裁剪效果,viewport只影响子对象渲染是否渲染,不具有裁剪效...

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