大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...ce: CommandBuffer_Outline ; private isUseOuline: boolean = true; // 控制是否使用描边 public static GetInstance(): CommandBuffer_Outline{ if(this.instance == null) this.instance = new CommandBuffer_Outline(); return ...
来源: Laya_社区 发布时间: 20210203
...gcy • 2018-08-27 11:56 已经找到原因了 texture.bitmap.alwaysChange=true; //小程序使用,非常费,这个参数可以根据自己的需求适当调整,如果内容不变可以不用设置成true 这个当时没设置 短大人 • 2018-08-29 00:54 真是郁闷了,我的这个问题...
来源: Laya_社区 发布时间: 20180824
...过 赞同来自: 不是,我是看一个视屏教学的用的Dialog.popup(true),一个参数将弹框放到中间并且下面的所有控件都不可以点击但是现在这个方法变成了两个参数两个都设置成true也不行我要的效果是点击注册页面弹出一个注册框然后下...
来源: Laya_社区 发布时间: 20180911
...mage的uv动画不能平铺 加载了一张img图片 并且设置了repeat=true,改变uv时图片没有平铺 private onFrame():void{ if(this.testScrollImg){ if(this.testScrollImg._bitmap && this.testScrollImg._bitmap.source){ this.testScrollImg._bitmap.source.repeat = true; var ss:any = t...
来源: Laya_社区 发布时间: 20180321
...谢回答,我最终给父容器加了一个事件穿透(mouseThrough = true)的属性就搞定了。。。 150*****745 • 2018-06-28 15:14 谢谢回答,我最终给父容器加了一个事件穿透(mouseThrough = true)的属性就搞定了。。。
来源: Laya_社区 发布时间: 20180627
... this.graphics.drawLine(0, 0, 1, 0, '#000'); }); this.customRenderEnable = true; this.customRender = (context: Laya.RenderContext, x: number, y: number) => { let webGLContext = context.ctx as Laya.WebGLContext2D; }sprite设置了customRenderEnable = true; 但customRender函数并没有被调用...
来源: Laya_社区 发布时间: 20180728
...s:199 inheritdoc override Parameters Default value destroyChild: boolean = true Returns void destroyChildren destroyChildren(): void Inherited from Node.destroyChildren Defined in laya/display/Node.ts:211 销毁所有子对象,不销毁自己本身。 Returns void event event(type: string, data?: ...
来源: Laya3.0_api 发布时间: 20231115
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
...的颜色 txt.borderColor = "#23cfcf"; //设置粗体、斜体 txt.bold = true; //设置斜体 txt.italic = true; //设置边距 txt.padding = [5,5,5,5]; Laya.stage.addChild(txt); ```  这里我们就可以看到字体样式、字体大小有明显的变化,文本框的最外围有...
来源: Laya2.0_文档 发布时间: 20210714
...m url 场景地址 * @param closeOther 是否关闭其他场景,默认为true(可选),【注意】被关闭的场景,如果没有设置autoDestroyAtClosed=true,则资源可能不能被回收,需要自己手动回收 * @param param 打开页面的参数,会传递给onOpened方法(...
来源: Laya3.0_文档 发布时间: 20251010