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

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

1. Laya_API3.0 [ 100%]

...s Only exported Menu Globals "Laya" Laya Class Laya Laya 是全局对象的引用入口集。 Laya类引用了一些常用的全局对象,比如Laya.stage:舞台,Laya.timer:时间管理器,Laya.loader:加载管理器,使用时注意大小写。 Hierarchy Laya Index Properties isWXOpenD...

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

2. laya.utils.Browser_API3.0 [ 77%]

...any Defined in laya/utils/Browser.ts:456 浏览器原生 document 对象的引用。 Returns any Static height get height(): number Defined in laya/utils/Browser.ts:417 浏览器窗口物理高度。考虑了设备像素比。 Returns number Static pixelRatio get pixelRatio(): number Defined in laya...

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

3. laya.display.BitmapFont_API3.0 [ 64%]

...rce.destroyedImmediately Defined in laya/resource/Resource.ts:112 是否在引用计数为0的时候立马删除他 dict dict: Record<string, BMGlyph> Defined in laya/display/BitmapFont.ts:15 fontSize fontSize: number = 12 Defined in laya/display/BitmapFont.ts:20 当前位图字体字号,使...

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

4. laya.media.VideoTexture_API3.0 [ 53%]

...rce.destroyedImmediately Defined in laya/resource/Resource.ts:112 是否在引用计数为0的时候立马删除他 Readonly element element: HTMLVideoElement Defined in laya/media/VideoTexture.ts:22 Optional lock lock: boolean Inherited from Resource.lock Defined in laya/resource/Resource.ts:103 ...

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

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

...。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Parameters Default value destr...

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

6. laya.device.media.Video_API3.0 [ 20%]

...mationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此值才有效,st...

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

7. laya.media.VideoNode_API3.0 [ 19%]

... from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有效,staticCache...

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