大约有 588 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0109 秒)
...写法 为什么??? 1、之前我们写的是加载图片 2、这次增加了纹理集的图片 Laya很贴心 有自带这种方式 这里我们用到图集 和 普通图片 1、Laya.Loader.IMAGE 2、Laya.Loader.ATLAS 因此我们的LayaSample.js需要修改一下加载代码如下: //加...
来源: Laya_社区 发布时间: 20160801
... Inherited from Node.addChildren Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from Node.addComponent Defined in laya/display/Node.ts:950 添加组件。 Type parameters T: Comp...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Node.addChildren Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from Node.addComponent Defined in laya/display/Node.ts:950 添加组件。 Type parameters T: Comp...
来源: Laya3.0_api 发布时间: 20231115
...这里的纹理压缩功能,大概会减少显存约75%,但是可能会增加文件的体积,所以这也是一种牺牲资源文件加载体积换取显存占用减少和CPU对于资源解码性能消耗的有损压缩方式。开发者可根据项目需要来选择使用。`该功能属于VI...
来源: Laya2.0_文档 发布时间: 20210714
... Inherited from Node.addChildren Defined in laya/display/Node.ts:241 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from Node.addComponent Defined in laya/display/Node.ts:939 添加组件。 Type parameters T: Comp...
来源: Laya3.0_api 发布时间: 20231102
... Inherited from Node.addChildren Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from Node.addComponent Defined in laya/display/Node.ts:950 添加组件。 Type parameters T: Comp...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Node.addChildren Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from Node.addComponent Defined in laya/display/Node.ts:950 添加组件。 Type parameters T: Comp...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Node.addChildren Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from Node.addComponent Defined in laya/display/Node.ts:950 添加组件。 Type parameters T: Comp...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Node.addChildren Defined in laya/display/Node.ts:251 批量增加子节点 Parameters Rest ...args: any[] Returns void addComponent addComponent<T>(componentType: {}): T Inherited from Node.addComponent Defined in laya/display/Node.ts:950 添加组件。 Type parameters T: Comp...
来源: Laya3.0_api 发布时间: 20231115
...类型进行区分。 使用方式与不带类型的基本相同,只是增加load第二个参数:类型标识字符串。 Laya.loader.load(url, type).then((res)=> { //带类型,用于区别无后缀,或同一后缀不同作用的资源。 //例如,图片xxx.png被定义为TextureCube,...
来源: Laya3.0_文档 发布时间: 20251010