大约有 154 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)
Laya_社区(56) Laya_示例(36) Laya2.0_示例(20) Laya3.0_api(13) Laya2.0_api(12) Laya3.0_文档(9) Laya2.0_文档(6) laya_api(2)
....clear(this,this.__updateBinds); this.__bindList.length=0; this.__bindList=null; super.destroy(destroyChild); } } 2. 可绑定到骨骼的内容 /** * 可绑定到骨骼的内容(实现者必须是Laya.Sprite的子类) */ export interface IBindSource{ boneName:string; offestX:number; offes...
来源: Laya_社区 发布时间: 20190805
...th.PI/2,0)); //移动鱼 Laya.Tween.to(fish,{x:-1},3000,Laya.Ease.linearIn,null) 这个Laya.Tween.to(fish,{x:-1},3000,Laya.Ease.linearIn,null)是不是写错了。。。应该怎么写啊。假设我要移动他到x为-1.z为-1 2017-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20170918
....loader.load(aniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.Loader.ATLAS); } createAnimation() { const Animation = Laya.Animation; let ani = new Animation(); Laya.stage.addChild(ani); ani.loadAtlas(aniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔...
来源: Laya2.0_示例 发布时间: 20241002
...628"; Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); })(); function createAnimation() { var ani = new Animation(); ani.loadAtlas(AniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒) ani.index = 1; // 当前播放...
来源: Laya_示例 发布时间: 20241002
....y = 300; //Laya.Tween.from(letterText,{y:100},3000,Laya.Ease.elasticInOut,null,i*1000);//注释本行改为将Laya.Tween.from改变为Laya.Tween.to Laya.Tween.to(letterText,{y:100},3000,Laya.Ease.elasticInOut,null,i*1000); ``` 运行效果如动图3所示 ![动图3.gif](img/3.gif)(动图3) 结...
来源: Laya2.0_文档 发布时间: 20210715
...ayer值为0到31层。 BaseCamera callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node...
来源: Laya2.0_api 发布时间: 20190513
...oad(["../../../../res/threeDimen/ui/button.png"], Handler.create(null, function():void { var btn:Button = new Button(); btn.skin = "../../../../res/threeDimen/ui/button.png"; btn.label = "切换RenderTexture"; btn.labelBold = true; btn.labelSize = 20; btn.sizeGrid = &qu...
来源: Laya_社区 发布时间: 20170209
...er.create(this,this.on3DComplete),Laya.Handler.create(this,this.onProgress,null,false)); Manager.prototype.onProgress = function(value) { console.log("value=="+Math.floor(value*100)+"%"); } 输出结果: 0.19186599730944645 0.5251993306427798 1 0.5002049180327869 0.5626793032786885 0.6251536885...
来源: Laya_社区 发布时间: 20180620
...0, m42:Number = 0, m43:Number = 0, m44:Number = 1, elements:Float32Array = null) 创建一个 Matrix4x4 实例。 Matrix4x4 billboard(objectPosition:Vector3, cameraPosition:Vector3, cameraRight:Vector3, cameraUp:Vector3, cameraForward:Vector3, mat:Matrix4x4):void[static] 计算BlillBoard矩阵 Ma...
来源: Laya2.0_api 发布时间: 20190513
... typeset() { this._isChanged = false; if (!this._text) { this._clipPoint = null; this._textWidth = this._textHeight = 0; this.graphics.clear(true); return; } Browser.context.font = this._getCSSStyle().font; this._lines.length = 0; this._lineWidths.length = 0; this.typeLines.length = 0; this._text = ...
来源: Laya_社区 发布时间: 20180417