大约有 213 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
Laya_社区(64) Laya3.0_api(60) Laya_示例(29) Laya3.0_文档(16) laya_api(14) Laya2.0_文档(11) Laya2.0_api(10) Laya2.0_示例(9)
...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 *...
来源: Laya2.0_文档 发布时间: 20210715
...需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统一销毁。 *...
来源: Laya2.0_文档 发布时间: 20210715
...| Index | Frames No Frames HTMLCanvasProperties | Methods Packagelaya.resourceClasspublic class HTMLCanvasInheritanceHTMLCanvas laya.resource.Bitmap HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。 Public Properties PropertyDefined By context : Context[read-o...
来源: Laya2.0_api 发布时间: 20190513
...到哪个大纹理。 //使用示例 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
...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
...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
...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
...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
...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