大约有 110 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Texture2DProperties | Methods | Constants Packagelaya.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Bitmap Texture2D 类用于生成2D纹理。 Public Properties Hide Inherited Public Pr...
来源: Laya2.0_api 发布时间: 20190513
...ronmentSpecular : BaseTexture 获取环境高光贴图。 Sky texture : Texture2D 获取天空立方体纹理。 SkyDomePublic Methods MethodDefined By SkyDome() 创建一个 SkyBox 实例。 SkyDome _render(state:RenderState):void[override] SkyDome loadEnvInfo(envInfo:String):voidSkyD...
来源: laya_api 发布时间: 20170929
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2D" Texture2D Class Texture2D Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG TEXTURE2D blackTexture erro...
来源: Laya3.0_api 发布时间: 20231115
...一个纹理处理类。 Public Properties PropertyDefined By bitmap : Texture2D 获取位图。 Texture destroyed : Boolean[read-only] 获取是否已经销毁。 Texture height : Number 实际高度。Texture offsetX : Number = 0沿 X 轴偏移量。Texture offsetY : Number = 0沿 ...
来源: Laya2.0_api 发布时间: 20190513
...HTMLImageElement Laya.loader.fetch( url,"image" ).then((res)=>{ //创建Texture2D var t2d: Texture2D = new Texture2D(res.width, res.height, TextureFormat.R8G8B8A8, false, false, true); t2d.setImageData(res, true, false); //创建Texture var texture: Texture = new Texture(t2d); let sp2:Sprite = ne...
来源: Laya3.0_文档 发布时间: 20230303
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel ...
来源: Laya3.0_api 发布时间: 20231115
...cumentationAll Packages | All Classes | Index | Frames No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Propert...
来源: laya_api 发布时间: 20170929
...url2 = "xxxxx.png"; var type1 = Laya.Loader.IMAGE; var type2 = Laya.Loader.TEXTURE2D; Laya.loader.load([url1, url2]).then((res:Array<any>)=> { //加载多个,不带类型 }); Laya.loader.load([url1, url2], type).then((res:Array<any>)=> { //加载多个,统一设置类型 }); La...
来源: Laya3.0_文档 发布时间: 20251010
...CHY IMAGE JSON MATERIAL MESH SOUND SPINE TERRAINHEIGHTDATA TERRAINRES TEXT TEXTURE2D TEXTURECUBE TTF VIDEO XML downloader extMap groupMap loadedMap preLoadedMap typeMap Accessors loading Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearTextureRes clearUnLoaded event fetch getRes hasLi...
来源: Laya3.0_api 发布时间: 20231115
...edoColor: { type: Color, default: [1, 1, 1, 1] }, u_AlbedoTexture: { type: Texture2D, options: { define: "ALBEDOTEXTURE" } }, u_NormalTexture: { type: Texture2D, options: { define: "NORMALTEXTURE" } }, u_NormalScale: { type: Float, default: 1.0, range: [0.0, 2.0] }, u_Metallic: { type: Float, defaul...
来源: Laya3.0_文档 发布时间: 20251010