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

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

281. 列表组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 68%]

... class MyItem extends Laya.GButton { //注意!在onConstruct里才可以获取对象,建议在这里做初始化,不要在构造函数里做初始化 onConstruct() { //this.xx = this.getChild("xx"); //this.xx.on(Laya.Event.CLICK, this, this.onClick); } sayHello() { console.log("Hello from M...

来源: Laya3.0_文档 发布时间: 20251128

282. laya.ui.Image_API3.0 [ 68%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

283. laya.resource.HTMLCanvas [ 68%]

...毁。 HTMLCanvas  getContext(contextID:String, other:* = null):Context 获取 Canvas 渲染上下文。 HTMLCanvas  getMemSize():int 获取内存大小。 HTMLCanvas  getTexture():Texture 获取texture实例 HTMLCanvas  release():void 释放。 HTMLCanvas  size(w:Number, h:Number):void ...

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

284. laya.d3.core.Camera [ 68%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  alwaysUseRenderTexture : Boolean 获取是否始终使用渲染纹理,在某些渲染配置下会直接将渲...

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

285. laya.ui.View_API3.0 [ 68%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

286. url上带有中文参数如何解码 [ 68%]

...var url:String = __JS__('window.document.location.href.toString()'); 可以获取中文地址,获取后,如何解码地址中含有的中文,字母的没有问题 比如 xxx.html?id=1&userName=小明 这个小明进来后是乱码的 2017-06-14 添加评论 免费帖 --> 分享 微博 QZON...

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

287. laya.ui.LayoutBox_API3.0 [ 68%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

288. laya.ui.Clip_API3.0 [ 68%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

289. laya.ui.OpenDataContextView_API3.0 [ 68%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

290. laya.ui.Label_API3.0 [ 68%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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