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

大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0094 秒)

281. [LayaAir3]关于drawToRenderTexture2D绘制后图像模糊问题补充 [ 83%]

...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

282. laya.display.EffectAnimation [ 83%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓...

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

283. 鼠标交互-键盘交互 [ 83%]

...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

284. laya调用input 标签没反应 [ 83%]

...的。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

285. 做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined [ 83%]

...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

286. laya.ui.Tab [ 83%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Nu...

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

287. laya.d3.core.Sprite3D [ 83%]

...含指定的 Node 节点对象 。 Node  destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事...

来源: laya_api 发布时间: 20170929

288. laya.ui.UIUtils [ 83%]

...并返回数组副本。 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

289. laya.ui.UIUtils [ 83%]

...并返回数组副本。 UIUtils  gray(traget:Sprite, isGray:Boolean = true):void[static] 给指定的目标显示对象添加或移除灰度滤镜。 UIUtils  toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefined By  esca...

来源: laya_api 发布时间: 20170929

290. laya.ui.UIComponent [ 83%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内...

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