大约有 204 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0047 秒)
Laya_社区(62) Laya3.0_api(60) Laya_示例(29) laya_api(14) Laya2.0_文档(11) Laya2.0_api(10) Laya3.0_文档(9) Laya2.0_示例(9)
...: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_文档 发布时间: 20241014
... 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
... Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/BaseTexture" BaseTexture Class BaseTexture BaseTexture 纹理的父类,抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Te...
来源: Laya3.0_api 发布时间: 20231115
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.models.BoxMesh; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.CylinderMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.PlaneMes...
来源: Laya_示例 发布时间: 20241118
...dex setVector3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new EffectMaterial(): EffectMaterial Overrides Material.constructor Defined in laya/d3/core/material/EffectMaterial.ts:57 创建一个 EffectMaterial 实例。 Returns EffectMaterial Pr...
来源: Laya3.0_api 发布时间: 20231115
...dex setVector3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new TrailMaterial(): TrailMaterial Overrides Material.constructor Defined in laya/d3/core/trail/TrailMaterial.ts:87 Returns TrailMaterial Properties _id _id: number = 0 Inherited from R...
来源: Laya3.0_api 发布时间: 20231115
Resource.destroyUnusedResources有报错 直接加载的lh模型文件 vertexbuffer3d indexbuffer3d texture2d Avatar 这些个引用计数都有问题貌似,调用Resource.destroyUnusedResources后,会销毁好多实际还在使用中的Resource,目前考虑手动记录引用,手动销毁...
来源: Laya_社区 发布时间: 20180804
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SkyBox; import laya.d3.resource.models.SphereMesh; import laya.d3.shader.ShaderCompile3D; import lay...
来源: Laya_示例 发布时间: 20241118
...dex setVector3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new ShurikenParticleMaterial(): ShurikenParticleMaterial Overrides Material.constructor Defined in laya/d3/core/particleShuriKen/ShurikenParticleMaterial.ts:96 创建一个 ShurikenPart...
来源: Laya3.0_api 发布时间: 20231115