大约有 313 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)
...或者物体移动卡顿问题,请求解决 请问有没有方法能够获取“鼠标是否处于按下状态”? Dialog:屏蔽点击Dialog之外的区域关闭弹框 如何实现微信登录? Tween如何实现无限循环改变alpha? 有什么容器能够实现当子元素达到显示上...
来源: Laya_社区 发布时间: 20251211
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMod...
来源: laya_api 发布时间: 20170929
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指...
来源: laya_api 发布时间: 20170929
...ard"); var generalPasteboard = UIPasteboard.generalPasteboard(); // 设置/获取文本内容: generalPasteboard.setValueforPasteboardType("testValue", "public.utf8-plain-text"); var value = generalPasteboard.valueForPasteboardType("public.utf8-plain-text"); 2017-06-09 0 0 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20170531
...减少CPU使用量3.1 减少动态属性查找3.2 性能消耗的回收3.3 获取显示对象边界的做法3.4 根据活动状态改变帧频3.5 使用callLater3.6 图片/图集加载四、其它优化策略4.1 减少粒子的使用数量4.2 尽量减少旋转,缩放,alpha等属性的使用4.3 ...
来源: Laya3.0_文档 发布时间: 20251010
...普通的渲染流程。但是,我们更建议调整Spine美术资源以获取最优的动画播放性能。 2.3 皮肤名称 skinName 当Spine里存在多套皮肤的话,通过切换不同的皮肤名称,可以在IDE里预览不同皮肤的效果,如图2-1所示。 (图2-1) 开发者也...
来源: Laya3.0_文档 发布时间: 20260203
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alignH : String 水平对齐方式。默认值为"left"。 取值范围: "left" :居左对齐; "center" ...
来源: Laya2.0_api 发布时间: 20190513