大约有 1,338 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0086 秒)
Laya_社区(1144) Laya3.0_api(125) Laya2.0_文档(24) Laya3.0_文档(20) Laya2.0_api(12) laya_api(11) Laya_示例(1) Laya2.0_示例(1)
...每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onR...
来源: Laya3.0_api 发布时间: 20231115
.../播放动作对应的动画 this.playAction(Player.RUN); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop) } /** * 播放动作对应的动画 * action String 动作名称 */ _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == ac...
来源: Laya_社区 发布时间: 20160801
...ean[read-only] 是否在播放中 AnimationPlayerBase loop : Boolean是否循环播放AnimationPlayerBase mask : Sprite遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩显示。 注意】遮罩对象坐标系是相对遮罩对象本身的,和Flash机制...
来源: laya_api 发布时间: 20170422
...每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onP...
来源: Laya3.0_api 发布时间: 20231115
...ya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆盖即可 */ onUpdate(): void { if (!this.target || !this.camera) return; this.target.transform.position.vsub(this.curpos, this.delatpos);...
来源: Laya3.0_文档 发布时间: 20251010
...meters nameOrIndex:* — 动画名字或者索引 loop:Boolean — 是否循环播放 force:Boolean (default = true) — false,如果要播的动画跟上一个相同就不生效,true,强制生效 start:int (default = 0) — 起始时间 end:int (default = 0) — 结束时间 freshSkin:Boo...
来源: laya_api 发布时间: 20170929
...adius,radius2,height,slices){创建出下面半径大小 修改第二个循环结构, 也就是柱状顶点绘制 __proto.recreateResource=function(){ this._numberVertices=(this._slices+1+1)+(this._slices+1)*2+(this._slices+1+1); this._numberIndices=3 *this._slices+6 *this._slices+3 *this._sli...
来源: Laya_社区 发布时间: 20180113
...omplete:Handler = null):void 播放 Parameters loops:int (default = 1) — 循环次数 complete:Handler (default = null) — 完成回调 stop()method public function stop():void 停止播放 Sat Apr 22 2017, 10:26 AM +08:00
来源: laya_api 发布时间: 20170422
...meters nameOrIndex:* — 动画名字或者索引 loop:Boolean — 是否循环播放 force:Boolean (default = true) — false,如果要播的动画跟上一个相同就不生效,true,强制生效 start:int (default = 0) — 起始时间 end:int (default = 0) — 结束时间 freshSkin:Boo...
来源: Laya2.0_api 发布时间: 20190513
...修改之后的这个。马大哈需要谨慎使用。然后那个预制体循环嵌套的问题真的太过分了,就算是我项目资源没做好,运行的时候弹出警告窗口,不让运行就行了啊。却弹出个我永远都关不掉警告窗口,连修改排查bug的机会都没有...
来源: Laya_社区 发布时间: 20181218