• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 791 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)

231. laya.resource.Texture [ 73%]

...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

232. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 73%]

... 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

233. laya.resource.Texture [ 73%]

...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

234. 射线检测-点击行走 [ 73%]

...; 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

235. 无法获取音频的时间长度 [ 72%]

...度     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

236. 进度条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...资源,图片资源来自“引擎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

237. 请问LayaAirUnityPlugin 1.1.0.unitypackage导出的.lsani文件怎么使用? [ 72%]

...         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

238. 高级应用-渲染纹理 [ 72%]

...; 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

239. Image销毁时未释放纹理 [ 72%]

...纹理 Image中没有destroy函数, 在销毁image的时候image未降低Resource的计数器, 所以通过Laya.Resource.destroyUnusedResources无法释放纹理.只能手动调用dispose来释放资源     此处执行了destroy。   资源计数未减少,无法释放资源   附件 : --> 2023-...

来源: Laya_社区 发布时间: 20230707

240. 树状列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...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