大约有 272 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
... 而不占用浏览器自身线程。Web Worker可以提高应用的总体性能,并且提升用户体验。线程可以执行任务而不干扰用户界面。 原生worker web worker分为两种,专用线程dedicated web worker,以及共享线程shared web worker。 Dedicated web worker随当...
来源: Laya3.0_文档 发布时间: 20251010
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,还是优先检测其子对象。鼠标...
来源: Laya3.0_api 发布时间: 20231115
...p3出现The AudioContext was not allowed to start. 大量sprite如何优化性能 模型资源释放问题 2.2-2.3版本 ani动画,序列帧动画最后一帧和第一帧衔接出现卡顿 小游戏项目 加载有中文的json文件 报错 分享:LayaAir下如何获取图集下的小图资源...
来源: Laya_社区 发布时间: 20180330
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会...
来源: laya_api 发布时间: 20170929
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定...
来源: Laya2.0_api 发布时间: 20190513
...染优化,所以保证一个类实现丰富功能的同时,又达到高性能。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中...
来源: Laya2.0_api 发布时间: 20190513
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会...
来源: laya_api 发布时间: 20170929
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Com...
来源: laya_api 发布时间: 20170929
...本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距...
来源: Laya2.0_api 发布时间: 20190513
...下,注释掉未赋初始值的成员变量,美化了代码,优化了性能 二、调试debug模式详解 注意:打开debug模式后,运行时必须打开调试面板。 开启debug模式后 1.编译代码将增加int,uint,Number,String的类型判断,都将被翻译成if(!__DEBUGTYPE__(...
来源: Laya_社区 发布时间: 20151203