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

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

401. 3D粒子特效初始化卡顿 [ 77%]

...方案,以下为示例代码: var sprite= Laya.loader.getRes(this._stlurl) as Laya.Sprite3D; this.skill = Laya.Sprite3D.instantiate(sprite); target.addChild(this.skill); this.Play();   这种卡顿在PC谷歌浏览器上不明显,但手机上就很明显了,另外在IDE的layaair调试器...

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

402. laya图片路径问题 [ 77%]

laya图片路径问题 var urls = [ "/public/test/img/food/f1.png", "/public/test/img/food/f2.png", "/public/test/img/food/f3.png", "/public/test/img/food/f4.png", "/public/test/img/food/f5.png", "/public/test/img/food/f6.png", "/public/test/img/food/f7.png", "/public/test/img/food/f8.png", "/publi...

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

403. dcc服务端应该配置怎么样的环境才能让手机客户端更新资源时能够正确的访问到 [ 77%]

...后构建eclipse项目,打出apk包作为基础包 构建的时候配置 URL路径是本地路径 http://10.0.0.114:8900/bin/index.html     然后我在view里面隐藏了两个button,作为改变 用命令 layadcc D:/work/native_test/bin 打包   运行之前的基础apk,然后还是显示...

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

404. 一个关于laya.display.scene不成熟的小建议 [ 77%]

...scene不成熟的小建议 建议把scene里的静态方法: static load(url: string, complete?: Handler, progress?: Handler): void; static open(url: string, closeOther?: boolean, param?: any, complete?: Handler, progress?: Handler): void; static close(url: string, name?: string): boolean; static ...

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

405. 关于LayaBox 2.0后loadImage改了后要用什么来绘制base64 [ 76%]

...改了后要用什么来绘制base64 LayaBox1.0时可以通过data来当做url传递给loadImage这个方法引擎就会帮解码显示出来。 var sp: Laya.Sprite = new Laya.Sprite();sp.loadImage(data, 0, 0, 200, 200);Laya.stage.addChild(sp); 但现在2.0的loadImage 的 data 就只会被默认...

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

406. Scene.load加载的时候无法正确的识别ResourceVersion [ 76%]

...来自: 我感觉问题大概是这样的,ResourceVersion是这样处理URL的: public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL...

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

407. Laya同时加载图片和引用图片的资源时会报错 [ 76%]

...题            Laya.loader.create([             { url: "res/Sword 10 Blue Gold.lmat", type: Laya.Loader.MATERIAL},             { url: "res/Sword 10 Blue Gold.jpg", type: Laya.Loader.IMAGE}         ]); 附件 : --> Test.zip 2022-01-07 添加评...

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

408. 跟视频做出现这个问题。怎么破 求解 [ 76%]

...,please use templet property instead. loader callback cost a long time:191 url=3d/man/hero.ani Warning: The (.lm) file is converted by old fbxTools,please reConverted it use lastest fbxTools version,later we will remove the support of old version (.lm) support. 2017-06-17 添加评论 免费帖 --> ...

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

409. laya.ani.bone.Templet [ 76%]

... Templet getTotalkeyframesLength(aniIndex:int):intAnimationTemplet load(url:String):AnimationTemplet[static] 加载动画模板。 AnimationTemplet  loadAni(url:String):voidTemplet onAsynLoaded(url:String, data:*, params:Array):void[override] private AnimationTemplet  parseData(texture:Textur...

来源: laya_api 发布时间: 20170929

410. laya.d3.core.light.PointLight_API3.0 [ 76%]

...Sprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepth...

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