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

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

91. 蒙皮动画挂点应用 [ 56%]

...inAnimations; this.skinAnimation._initialize(body); // var tempet:AnimationTemplet = new AnimationTemplet(); var tempet:AnimationTemplet = AnimationTemplet.load("res/LayaScene_body1/Assets/H5/body-idle1.lani"); // debugger skinAnimation.templet = tempet body.addComponent(AttachPoint); attachPoint = ...

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

92. 加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds [ 55%]

...报错如下:Uncaught getUint16 error - Out of bounds var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load...

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

93. 骨骼动画换装显示不刷新问题 [ 55%]

... ResLoad.getInstance().getAtlasUrl("tiger_sk");  this.mFactory = new Laya.Templet(); this.mFactory.parseData(Laya.loader.getRes(mc_png),Laya.loader.getRes(mc_data));  this.skeleton = this.mFactory.buildArmature(1); 使用下面代码更换骨骼插槽纹理,无法更新显示。 var url = ResLoa...

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

94. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 54%]

...览: 1479 关注: 5 人 yyqx1122 • 2018-03-28 10:33 var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load([...

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

95. spine适配版运行期间没有spine相关类 [ 53%]

...ya.spine.js,spine-core-3.7.js,在项目代码中可以成功引入SpineTemplet,SpineVersion等相关类,但是运行期间却找不到相关类。demo里在GameUI.ts的onEnble里加入了一句:let templet=new Laya.SpineTemplet(Laya.SpineVersion.v3_7);编译正常,但是运行报错,找...

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

96. 设置骨骼动画停留在某一帧/某一个时间点 [ 53%]

...           armature._curOriginalData = new Float32Array(armature._templet.getTotalkeyframesLength(index));         }         let graphics = armature._getGrahicsDataWithCache(index, frame);         graphics ? armature.graphics = graphics : armature._createGraphics(frame);  ...

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

97. H5页面的骨骼动画不能显示完整,兼容性问题? [ 52%]

...: void { var aniPath = this.ANIS[this.fishIndex]; this.mFactory = new Laya.Templet(); this.mFactory.on(Laya.Event.COMPLETE, this, this.parseComplete); this.mFactory.loadAni(aniPath); } // 动画解析完成,添加到舞台,并且开始swim parseComplete(): void { this.mArmature = this.mFactory.bui...

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

98. Laya 绑定显示内容到骨骼动画 [ 52%]

...Laya.Point(); } result.x=result.y=0; let bone:laya.ani.bone.Bone=skeleton.templet.mRootBone.findBone(BoneName); let matrix:laya.maths.Matrix=bone.getResultMatrixByFrame(skeleton.index); result=matrix.transformPoint(result); return result; } }     以上是自定义代码部分,下面是laya...

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

99. 3D模型无法正显示和播放动作 [ 50%]

...      var ani = hero.addComponent(Laya.SkinAnimations);         ani.templet = Laya.AnimationTemplet.load("./res/Xinzhaoyun/Zhaoyun_standfight.lsani");         ani.player.play();               var hero = sphere.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skin...

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

100. laya.ani.bone.Skeleton_API3.0 [ 50%]

...nu Globals "laya/ani/bone/Skeleton" Skeleton Class Skeleton 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx...

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