大约有 12 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0043 秒)
Skeleton 动画模式0 缓存了Graphic没缓存Bone的数据导致getBoneByName(x).resultMatrix 错误 Skeleton 动画模式0 缓存了Graphic没缓存Bone的数据导致getBoneByName(x).resultMatrix 错误 2018-03-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...
来源: Laya_社区 发布时间: 20180322
...archy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components ...
来源: Laya3.0_api 发布时间: 20231115
...; 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
...lSprite); mLabelSprite.x = mStartX; mLabelSprite.y = mStartY; mLabelSprite.graphics.clear(); mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "#ff0000", "center"); Tween.to(mLabelSprite, { y:mStartY - 200 }, 1000, null,Handler.create(this,playEnd)) } function playEnd() { mLabelSpr...
来源: Laya_示例 发布时间: 20250220
...e.addChild(mLabelSprite); mLabelSprite.pos(mStartX, mStartY); mLabelSprite.graphics.fillText(tEventData.name, 0, 0, "20px Arial", "#ff0000", "center"); Tween.to(mLabelSprite, { y: mStartY - 200 }, 1000, null, Handler.create(this, this.playEnd)) } playEnd() { mLabelSprite.removeSelf(); } } new Skelet...
来源: Laya2.0_示例 发布时间: 20250220
...ore.material.BaseMaterial; import laya.d3.core.scene.Scene; import laya.d3.graphics.VertexElementUsage; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import l...
来源: Laya_示例 发布时间: 20250220
...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
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高...
来源: laya_api 发布时间: 20170929
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高...
来源: Laya2.0_api 发布时间: 20190513