大约有 153 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
Laya3.0_api(59) Laya_社区(44) Laya3.0_文档(12) laya_api(11) Laya2.0_文档(11) Laya2.0_api(7) Laya_示例(6) Laya2.0_示例(3)
...到哪个大纹理。 //使用示例 const texture = Laya.loader.getRes("resources/hero.png", Laya.Loader.IMAGE); const success = atlasManager.addTexture(texture, 0.5, 0); // 添加到指定图集,缩放为 0.5 通过 URL 添加纹理 //接口 addTextureByUrl(url: string, scale: number = 1.0, largeT...
来源: Laya3.0_文档 发布时间: 20260131
...Frames No Frames Texture2DProperties | Methods | Constants Packagelaya.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Bitmap Texture2D 类用于生成2D纹理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined...
来源: Laya2.0_api 发布时间: 20190513
...x | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined By _atlasID : int = -1Texture bitmap : * 图片...
来源: laya_api 发布时间: 20170929
...URL off offAll offAllCaller on once setAnimationDataWithCache destroyUnusedResources Constructors constructor new Templet(): Templet Inherited from AnimationTemplet.constructor Overrides Resource.__constructor Defined in laya/ani/AnimationTemplet.ts:127 Returns Templet Properties _id _id: number = 0...
来源: Laya3.0_api 发布时间: 20231115
...ex | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By defaulteTexture : Base...
来源: laya_api 发布时间: 20170929
...x | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By bitmap : Texture2D 获取位图。 Texture destroyed : Boolean[read-on...
来源: Laya2.0_api 发布时间: 20190513
...:18090/_cache_ ... 65.ls (2) [5, PrefabImpl] loader http://localhost:18090/resources/Box.lh (2) [5, PrefabImpl] loader http://localhost:18090/resources/chest_bg.png (4) [6, Texture, 7, Texture2D] loader http://localhost:18090/atlas/comp/img_bg.png (4) [6, Texture, 7, Texture2D] close ---------------...
来源: Laya_社区 发布时间: 20240109
...class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https://layaair.com/3.x/demo/resources/res/apes/monkey2.png"); } /**加载并显示图片 */ loadTexture(url: string, x: num...
来源: Laya3.0_文档 发布时间: 20251010
...dex setVector3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new SkyPanoramicMaterial(): SkyPanoramicMaterial Overrides Material.constructor Defined in laya/d3/core/material/SkyPanoramicMaterial.ts:73 创建一个 SkyPanoramicMaterial 实例。 R...
来源: Laya3.0_api 发布时间: 20231115
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/HTMLCanvas" HTMLCanvas Class HTMLCanvas HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。 Hierarchy Resource HTMLCanvas Index Constructors constructor Properties _id destroyedImmediatel...
来源: Laya3.0_api 发布时间: 20231115