大约有 45 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
...置于目标精灵下方。接着,您需根据目标精灵的骨架更新换装精灵渲染器上的骨骼(bones)和根骨骼(rootbone)对象。此外,骨骼数组(bones数组)可以通过网格的骨骼名(mesh.boneNames)进行查找,或者通过原始骨骼数组中的名称...
来源: Laya_社区 发布时间: 20231031
...会产生变化。 (动图3-5) 3.2.3 附件名称 attachment 为了方便换装或换武器等需求,通常会把Spine整体拆分为一个个的部件,这个部件,在Spine中有一个专业的名词,叫附件attachment,附件需要通过插槽来连接。效果如动图3-6所示。 (动...
来源: Laya3.0_文档 发布时间: 20251128
...unction parseComplete(fac:Templet):void { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this...
来源: Laya_社区 发布时间: 20170406
...sk").then((templet: Laya.Templet) => { //创建模式为1,可以启用换装 this.mArmature = templet.buildArmature(0); this.mArmature.x = 300; this.mArmature.y = 350; this.mArmature.scale(0.5, 0.5); this.owner.addChild(this.mArmature); //设置动画播放完成后,调用completeHandler继...
来源: Laya3.0_文档 发布时间: 20251010
...unction parseComplete(fac:Templet):void { //创建模式为1,可以启用换装 mArmature = mFactory.buildArmature(0); mArmature.x = 400; mArmature.y = 500; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play(); } private function com...
来源: Laya_社区 发布时间: 20170406