大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0094 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
...RenderRect A boolean indicating whether to draw the render rectangle. When true, it starts drawing from (0,0) of the render texture and subtracts the offset of the cache rectangle. When false, it keeps the sprite's original relative position for drawing. * @param flipY Optional. If true, the texture...
来源: Laya_社区 发布时间: 20250827
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓...
来源: Laya2.0_api 发布时间: 20190513
...p); } /** 键盘按下处理 */ onKeyDown(e) { keyDownList[e["keyCode"]] = true; } /** 键盘抬起处理 */ onKeyUp(e) { delete keyDownList[e["keyCode"]]; } /** 添加提示文本 */ createLogger() { const Text = Laya.Text; logger = new Text(); logger.size(Laya.stage.width, Laya.stage.height); logg...
来源: Laya2.0_示例 发布时间: 20251209
...的。var ne = document.createEvent('MouseEvents'); ne.initEvent('click', true, true); document.getElementById('myfile').dispatchEvent(ne); 不过在laya里面调用并没有效果。 代码是确认以及调用的。__JS__("var ne = document.createEvent('MouseEvents'); ne.initEvent('click', true, t...
来源: Laya_社区 发布时间: 20180723
...8-11-19 12:26 在子域项目的main.js里加一段代码Laya.isWXPosMsg = true;Laya.isWXOpenDataContext = true;(主域这里是false) wulilioo • 2018-11-19 13:02 @内涵tv何吓吓:多谢回复。 我现在 主域是 : Laya.isWXPosMsg = true; Laya.isWXOpenDataContext = false; 子域是: Laya....
来源: Laya_社区 发布时间: 20181026
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Nu...
来源: Laya2.0_api 发布时间: 20190513
...含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事...
来源: laya_api 发布时间: 20170929
...并返回数组副本。 UIUtils gray(traget:Sprite, isGray:Boolean = true):void[static] 给指定的目标显示对象添加或移除灰度滤镜。 UIUtils toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefined By esca...
来源: Laya2.0_api 发布时间: 20190513
...并返回数组副本。 UIUtils gray(traget:Sprite, isGray:Boolean = true):void[static] 给指定的目标显示对象添加或移除灰度滤镜。 UIUtils toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefined By esca...
来源: laya_api 发布时间: 20170929
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内...
来源: Laya2.0_api 发布时间: 20190513