大约有 343 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0025 秒)
Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya3.0_文档(37) Laya_社区(8) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...开发语言、LayaAirIDE让项目开发更高效。(function() { var Texture = Laya.Texture; var Handler = Laya.Handler; var numLoaded = 0; var resAmount = 3; (function() { Laya.init(500, 400); // 按序列加载 monkey2.png - monkey1.png - monkey0.png // 不开启缓存 // 关闭并发加载 La...
来源: Laya_示例 发布时间: 20251130
...Protected All Inherited Externals Only exported Menu Globals "laya/loaders/TextureLoader" Texture2DLoader Class Texture2DLoader Hierarchy Texture2DLoader Implements IResourceLoader Index Constructors constructor Methods load Constructors constructor new Texture2DLoader(): Texture2DLoader Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...r.create(this, this.onAssetLoaded), null, null, 2, false); } onAssetLoaded(texture) { console.log(texture.url); // 恢复默认并发加载个数。 if (++numLoaded == 3) { Laya.loader.maxLoader = 5; console.log("All done."); } } } new Loader_Sequence();module laya { import Texture = Laya.Texture; i...
来源: Laya2.0_示例 发布时间: 20251130
...Protected All Inherited Externals Only exported Menu Globals "laya/loaders/TextureLoader" TextureLoader Class TextureLoader Hierarchy TextureLoader Implements IResourceLoader Index Methods load wrapTex2D Methods load load(task: ILoadTask): Promise<Texture> Implementation of IResourceLoader.loa...
来源: Laya3.0_api 发布时间: 20231115
...d All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawTexturesCmd" DrawTexturesCmd Class DrawTexturesCmd 根据坐标集合绘制多个贴图 Hierarchy DrawTexturesCmd Index Properties colors pos texture ID Methods recover Properties colors colors: number[] Defined in laya/displ...
来源: Laya3.0_api 发布时间: 20231115
...nSlotDisplayData Index Properties attachmentName bones height lengths name texture transform triangles type uvs verLen vertices weights width Methods createTexture destory Properties attachmentName attachmentName: string Defined in laya/ani/bone/SkinSlotDisplayData.ts:12 附件名称 bones bones: an...
来源: Laya3.0_api 发布时间: 20231115
...ImageCmd 绘制图片 Hierarchy DrawImageCmd Index Properties color height texture width x y ID Methods recover Properties color color: number = 4294967295 Defined in laya/display/cmd/DrawImageCmd.ts:34 (可选)绘图颜色 height height: number Defined in laya/display/cmd/DrawImageCmd.ts:31 (...
来源: Laya3.0_api 发布时间: 20231115
...ltDFG Hierarchy PBRDefaultDFG Index Accessors defaultDFG Methods DefaultDfgTexture Accessors Static defaultDFG get defaultDFG(): Texture2D set defaultDFG(value: Texture2D): void Defined in laya/d3/shader/pbr/PBRDefaultDFG.ts:13 Returns Texture2D Defined in laya/d3/shader/pbr/PBRDefaultDFG.ts:16 Para...
来源: Laya3.0_api 发布时间: 20231102
...ForGraphic Index Constructors constructor Properties canvasPadding indexes texture transform useUvTransform uvTransform uvs vertices Methods getBounds init2 Constructors constructor new SkinMeshForGraphic(): SkinMeshForGraphic Defined in laya/ani/bone/canvasmesh/SkinMeshForGraphic.ts:9 创建SkinGra...
来源: Laya3.0_api 发布时间: 20231115
...erarchy MeshData SkinMeshForGraphic Index Properties canvasPadding indexes texture useUvTransform uvTransform uvs vertices Methods getBounds Properties canvasPadding canvasPadding: number = 1 Defined in laya/ani/bone/canvasmesh/MeshData.ts:43 扩展像素,用来去除黑边 indexes indexes: Uint16Ar...
来源: Laya3.0_api 发布时间: 20231115