大约有 1,682 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0103 秒)
Laya_社区(1191) Laya3.0_文档(154) Laya3.0_api(134) laya_api(71) Laya2.0_api(69) Laya2.0_文档(59) Laya2.0_示例(4)
...数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次...
来源: Laya3.0_api 发布时间: 20231115
...va this.tMap.destroy(); ``` ### 3.2 缓存相关 #### 3.2.1 开启和关闭自动缓存 LayaAir引擎使用TiledMap时,默认会将没有动画的地块自动缓存起来,并且缓存类型默认为normal。 ```java //自动缓存没有动画的地块 this.tMap.autoCache = true; //自动缓存...
来源: Laya2.0_文档 发布时间: 20210715
...rited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方...
来源: Laya3.0_api 发布时间: 20231115
...数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次...
来源: Laya3.0_api 发布时间: 20231115
...rited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方...
来源: Laya3.0_api 发布时间: 20231115
...才可以调用play(),所以移动端不可能在程序开始运行时就自动开始播放Video。 MDN Video链接: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url a...
来源: Laya3.0_api 发布时间: 20231115
...数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次...
来源: Laya3.0_api 发布时间: 20231115
...数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次...
来源: Laya3.0_api 发布时间: 20231115
...royAtClosed Defined in laya/display/Scene.ts:25 场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 fa...
来源: Laya3.0_api 发布时间: 20231115
...数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次...
来源: Laya3.0_api 发布时间: 20231115