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

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

2871. 文本进阶使用 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

...可以看到会一直在涨内存,直到GC条件达到之后,才会被销毁。并且GC在清空垃圾内存的时候,还有可能会导致瞬间的卡顿。 而采用Graphics类的fillText文本绘制,则是按单个字符向大图合集中进行提交,并且大图合集中已经存在的...

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

2872. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 25%]

...可以看到会一直在涨内存,直到GC条件达到之后,才会被销毁。并且GC在清空垃圾内存的时候,还有可能会导致瞬间的卡顿。 而采用Graphics类的fillText文本绘制,则是按单个字符向大图合集中进行提交,并且大图合集中已经存在的...

来源: Laya2.0_文档 发布时间: 20210715

2873. UI运行时 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

...为虚方法,使用时重写覆盖即可 */ onDisable(): void { } /** * 销毁时执行 * 此方法为虚方法,使用时重写覆盖即可 */ onDestroy(): void { } /** * 关闭完成后,调用此方法(如果有关闭动画,则在动画完成后执行) * @param type 如果是点击默...

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

2874. laya.ui.Button_API3.0 [ 25%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean disabled get disabled(): boolean set disabled(value: boolean): void Inherited from UIComponent.disabled Defined in laya/ui/UIComponent.ts:325 是否禁用页面,设...

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

2875. laya.ui.CheckBox_API3.0 [ 25%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean disabled get disabled(): boolean set disabled(value: boolean): void Inherited from UIComponent.disabled Defined in laya/ui/UIComponent.ts:325 是否禁用页面,设...

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

2876. laya.ui.Radio_API3.0 [ 24%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean disabled get disabled(): boolean set disabled(value: boolean): void Inherited from UIComponent.disabled Defined in laya/ui/UIComponent.ts:325 是否禁用页面,设...

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

2877. laya.ui.TextInput_API3.0 [ 24%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean disabled get disabled(): boolean set disabled(value: boolean): void Inherited from UIComponent.disabled Defined in laya/ui/UIComponent.ts:325 是否禁用页面,设...

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

2878. laya.ui.TextArea_API3.0 [ 24%]

...herited from Node.destroyed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean disabled get disabled(): boolean set disabled(value: boolean): void Inherited from UIComponent.disabled Defined in laya/ui/UIComponent.ts:325 是否禁用页面,设...

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

2879. 3D场景环境设置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 23%]

....onLoading)); //关闭指定的场景 Laya.Scene.close("scene/Login.ls") //销毁指定的场景 Laya.Scene.destroy("scene/Login.ls") 8.2 场景资源加载 示例代码如下: //用Laya.Scene3D的方式加载 Laya.Scene3D.load('scene/Game.ls', Laya.Handler.create(null, function (res:any){ Laya.st...

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

2880. laya.display.Graphics_API3.0 [ 23%]

...ClipRectCmd destroy destroy(): void Defined in laya/display/Graphics.ts:78 销毁此对象。 Returns void drawCircle drawCircle(x: number, y: number, radius: number, fillColor: any, lineColor?: any, lineWidth?: number): DrawCircleCmd Defined in laya/display/Graphics.ts:544 绘制圆形。 Parameter...

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