大约有 791 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
Laya_社区(463) Laya3.0_api(111) Laya3.0_文档(58) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(24) Laya2.0_示例(9)
...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
... 2018-09-14 16:03 file: 'file:///Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/bowlerhatllc.vscode-nextgenas/node_modules/flexjs/frameworks/js-config.xml' severity: '错误' message: '无法打开“/Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/bowlerhatllc...
来源: Laya_社区 发布时间: 20180914
...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
...; 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_示例 发布时间: 20251130
...度 var soundChItem:Laya.SoundChannel = Laya.SoundManager.playMusic("resources/sound/dh/gril1.wav", 1,Laya.Handler.create(this,() => { })); console.log(soundChItem.position+""); console.log(soundChItem.duration+""); 附件 : --> 2023-05-19 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20230519
...资源,图片资源来自“引擎API使用示例” Laya.loader.load(["resources/res/ui/progressBar.png", "resources/res/ui/progressBar$bar.png"]).then(() => { // 创建进度条 this.progressBar = new Laya.ProgressBar("resources/res/ui/progressBar.png"); this.progressBar.pos(100, 500); this.p...
来源: Laya3.0_文档 发布时间: 20251010
... super(); let mesh = Sprite3D.load('resources/shuipao.lh'); this.addChild(mesh); mesh.on(Event.HIERARCHY_LOADED, this, this.OnHierarchyLoaded); let ani_names = this.ani...
来源: Laya_社区 发布时间: 20170608
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.RenderTexture; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BaseMesh; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event...
来源: Laya_示例 发布时间: 20251130
...纹理 Image中没有destroy函数, 在销毁image的时候image未降低Resource的计数器, 所以通过Laya.Resource.destroyUnusedResources无法释放纹理.只能手动调用dispose来释放资源 此处执行了destroy。 资源计数未减少,无法释放资源 附件 : --> 2023-...
来源: Laya_社区 发布时间: 20230707
...oll$bar.png", "atlas/comp/vscroll$down.png", "atlas/comp/vscroll$up.png", "resources/tree/clip_selectBox.png", "resources/tree/clip_tree_folder.png", "resources/tree/clip_tree_arrow.png"]; Laya.loader.load(res).then(() => { this.onLoadComplete(); }); } private onLoadComplete(e: any = null): void ...
来源: Laya3.0_文档 发布时间: 20251010