大约有 4 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0018 秒)
Skeleton 动画模式0 缓存了Graphic没缓存Bone的数据导致getBoneByName(x).resultMatrix 错误 Skeleton 动画模式0 缓存了Graphic没缓存Bone的数据导致getBoneByName(x).resultMatrix 错误 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180322
...; 4. 好了 收尾阶段在 laya.ani.js 中 Skeleton 类的 _createGraphics方法 有个调用骨骼更新的方法 this._rootBone.update(this._clipIndex,this._yReverseMatrix || Matrix.TEMP.identity()); 使用方式: this.__bind=new BindSkeleton(); Laya.stage.add...
来源: Laya_社区 发布时间: 20190805
...ar h:int = 40; var button:Sprite = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2 , 8, "25px SimHei", "#FFFFFF", "center"); Laya.stage.addChild(button); return button; } private function parseComplete(fac:Templet):void { //创...
来源: Laya_社区 发布时间: 20170406
...():void { var btn:Sprite=new Sprite();//绘制一个红色矩形按钮 btn.graphics.drawRect(0,0,150,30,'#FF0000'); btn.pos(10,430); btn.size(150,30);//sprite如果要触发鼠标事件,务必设置好size,也就是鼠标的相应区域 btn.on(Event.CLICK,this,onChangeSkin); Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20170324