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

大约有 265 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0030 秒)

1. laya.utils.Timer_API3.0 [ 100%]

...Timer 类的一个实例。 Parameters Default value autoActive: boolean = true Returns Timer Properties currFrame currFrame: number = 0 Defined in laya/utils/Timer.ts:22 当前的帧数。 currTimer currTimer: number Defined in laya/utils/Timer.ts:20 当前帧开始的时间。 scale scale: number ...

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

2. UIConfig_API3.0 [ 96%]

...ollEnable Properties Static closeDialogOnSide closeDialogOnSide: boolean = true Defined in UIConfig.ts:14 模式窗口点击边缘,是否关闭窗口,默认是关闭的 Static mouseWheelEnable mouseWheelEnable: boolean = true Defined in UIConfig.ts:6 是否开启滑轮滚动(针对滚动条)...

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

3. Config_API3.0 [ 94%]

...royResourceImmediatelyDefault destroyResourceImmediatelyDefault: boolean = true Defined in Config.ts:80 Static fixedFrames fixedFrames: boolean = true Defined in Config.ts:78 tempConfig Fixed number of frames Static isAlpha isAlpha: boolean = false Defined in Config.ts:46 设置画布是否透明,...

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

4. laya.utils.Handler_API3.0 [ 92%]

...Defined in laya/utils/Handler.ts:20 表示是否只执行一次。如果为true,回调后执行recover()进行回收,回收后会被再利用,默认为false 。 Methods clear clear(): Handler Defined in laya/utils/Handler.ts:83 清理对象引用。 Returns Handler recover recover(): void Defi...

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

5. laya.display.Node_API3.0 [ 89%]

...父节点移除自己。 Parameters Default value destroyChild: boolean = true (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 Returns void destroyChildren destroyChildren(): void Defined in laya/display/Node.ts:211 销毁所有子对象,不...

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

6. laya.events.InputManager_API3.0 [ 89%]

...nts/InputManager.ts:34 Static keyEventsEnabled keyEventsEnabled: boolean = true Defined in laya/events/InputManager.ts:24 是否开启键盘事件,默认为true Static mouseEventsEnabled mouseEventsEnabled: boolean = true Defined in laya/events/InputManager.ts:22 是否开启鼠标/触摸事件,...

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

7. Config3D_API3.0 [ 87%]

...,单位为M。 Static enableDynamicBatch enableDynamicBatch: boolean = true Defined in Config3D.ts:11 控制是否动态合并 Static enableMultiLight enableMultiLight: boolean = true Defined in Config3D.ts:39 是否开启多光源,如果场景不需要多光源,关闭后可提升性能。 Stati...

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

8. laya.display.BitmapFont_API3.0 [ 86%]

...体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按照设置字号比率进行缩放显示。 letterSpacing letterSpacing: number = 0 Defined in laya/display/BitmapFont.ts:26 lineHeight lineHeight: number = 12 Defined in laya/display/BitmapFont.ts:25 Optional lock...

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

9. laya.net.LoaderManager_API3.0 [ 86%]

...资源会保留资源路径"?"后的部分。 如果url为数组,返回true;否则返回指定的资源类对象,可以通过侦听此对象的 Event.LOADED 事件来判断资源是否已经加载完毕。 注意:cache参数只能对文件后缀为atlas的资源进行缓存控制,其他资...

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

10. laya.d3.core.Sprite3D_API3.0 [ 86%]

...s:310 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