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

大约有 1,523 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)

311. laya.resource.VideoTexture_API3.0 [ 79%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG _videoTexture...

来源: Laya3.0_api 发布时间: 20231102

312. 位图加载回调不触发 [ 79%]

位图加载回调不触发 let bitmapFont = new Laya.BitmapFont(); bitmapFont.loadFont(url, Laya.Handler.create(this, this.loadFNTComplete, [url, bitmapFont])); 2.1.0之前的版本这样运行正常,升级到2.1.0beta版本后 loadFNTComplete未触发 2019-05-15 添加评论 免费帖 --> 分...

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

313. texture 的销毁问题,,,, [ 79%]

...问题,,,, 加载一张图片,然后获取texture var texture = Laya.loader.getRes(url); 然后texture调用texture.destroy(true); 销毁图片, 那下次要使用该图片的时候,还需要重新加载吗,,  是不是我下次使用的时候,我可以直接去调用加载load(...

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

314. 模型资源释放 [ 79%]

.../**释放资源**/ private function assetsDispose(assetsUrl:String):void { Laya.loader.clearRes(assetsUrl); //加载盘释放的资源配置表 Laya.loader.load([{url:assetsUrl,type:Loader.JSON}], Handler.create(this,onAssetsOK,[assetsUrl])); } /**加载资源释放表完成后**/ private function o...

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

315. Skeleton骨骼动画内存泄漏 [ 79%]

...存会一直往上升,降不下来。 核心代码如下: private te:Laya.Templet; private sk:Laya.Skeleton; private onKeyDown(e):void{ if(e.keyCode == 49 || e.keyCode == 97){ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadA...

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

316. Laya.loader.load 教程代码出错 [ 79%]

Laya.loader.load 教程代码出错            package {     import laya.display.Text;     import laya.display.Sprite;     import laya.utils.Handler;     import laya.resource.Texture;     public class LayaSample {         private var img:Sprite ;         p...

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

317. 微信小游戏图集卸载报错 [ 79%]

...载报错 IDE版本 1.7.16beta 项目导出成微信小游戏后,调用Laya.loader.clearRes(url)报错 然后整个游戏卡死 url=res/atlas/Mission.atlas Laya.loader.clearRes(url);  (在调用这个方法前图集已加载完成)   附件 : --> 2018-08-15 添加评论 免费帖 --> 分享 微...

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

318. laya.resource.Texture [ 79%]

...Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By  bitmap : Texture2D 获取位图。 Texture  destroyed : Boolean[rea...

来源: Laya2.0_api 发布时间: 20190513

319. IDE1.7.8 json图集加载问题 [ 79%]

...下加载TFF字体要怎么加载呢? 图集打包找不到图集文件 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 打包出来后的APP打开加载速度过慢,有黑屏...

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

320. laya.d3.animation.AnimationClip [ 79%]

... | Index | Frames No Frames AnimationClipProperties | Methods Packagelaya.d3.animationClasspublic class AnimationClipInheritanceAnimationClip laya.resource.Resource AnimationClip 类用于动画片段资源。 Public Properties PropertyDefined By  islooping : Boolean是否循环。Animation...

来源: Laya2.0_api 发布时间: 20190513