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

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

211. 如何为list内部的button添加事件 [ 64%]

...给组件添加事件就跟给单独的button按钮添加事件一样,你通过name获取到button对象,然后给对象注册点击事件就可以! 2017-03-03 0 0 分享 微博 QZONE 微信 BugCreater 赞同来自: 楼主,你解决了吗? 2017-03-29 0 0 分享 微博 QZONE 微信 为...

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

212. laya.ui.Label_API3.0 [ 64%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...

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

213. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 64%]

...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...

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

214. laya.physics.PhysicsDebugDraw_API3.0 [ 63%]

...sDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _...

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

215. laya.ui.Clip [ 63%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模式。目前只支持"lighter"。S...

来源: laya_api 发布时间: 20170929

216. laya.display.Sprite_API3.0 [ 63%]

...列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获...

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

217. laya.d3.core.scene.Scene3D [ 63%]

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

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

218. laya.map.TileAniSprite_API3.0 [ 63%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...

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

219. laya.ui.DialogManager_API3.0 [ 63%]

...话框打开和关闭,都会出发管理类的open和close事件 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭,点击窗口是否切换层次等 通过设置对话框的zOrder属性,可以更改弹出的层次 Hierarchy Sprite DialogManager Index Con...

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

220. laya.particle.Particle2D_API3.0 [ 62%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测...

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