大约有 99 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0040 秒)
Laya3.0_api(40) Laya_社区(34) Laya2.0_文档(12) Laya3.0_文档(5) Laya2.0_api(5) laya_api(1) Laya_示例(1) Laya2.0_示例(1)
...状态 var state2 = new Laya.AnimatorState(); state2.name = "ride"; state2.clipStart = 0 / 581; state2.clipEnd = 33 / 581; state2.clip = animator.getDefaultState().clip; state2.clip.islooping = true; //给该动画状态添加脚本 var asst2 = state2.addScript(AnimatorStateScriptTest); //给该脚...
来源: Laya2.0_文档 发布时间: 20210715
...状态 var state2 = new Laya.AnimatorState(); state2.name = "ride"; state2.clipStart = 0 / 581; state2.clipEnd = 33 / 581; state2.clip = animator.getDefaultState().clip; state2.clip.islooping = true; //给该动画状态添加脚本 var asst2 = state2.addScript(AnimatorStateScriptTest); //给该脚...
来源: Laya2.0_文档 发布时间: 20210715
...Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 2018-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 八阿哥 赞同来自: 伐木工人 、yzbgyc 、013 Animator有一...
来源: Laya_社区 发布时间: 20180425
...geState=function(){ this._stateChanged=false; this.runCallLater(this.changeClips); var index=this._state < this._stateNum ? this._state :this._stateNum-1; this._sources && (this._bitmap.source=this._sources[index]); if (this.label){ this._text.color=this._labelColors[index]; if (this._str...
来源: Laya_社区 发布时间: 20170516
...ge 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 知道了差异再去看看在laya.ui.js中,具体的处理方式是如何的: 在laya.u...
来源: Laya_社区 发布时间: 20191122
...his._bmpSnap.x = L.GAP_UNIFIED; this._bmpSnap.y = this._contMotion.y + L.H_CLIP + L.GAP_UNIFIED; this.addChild( this._bmpSnap ); /// 快照特效 this._shapeSnapEffect = new egret.Shape; this._shapeSnapEffect.graphics.beginFill( 0xFFFFFF ); this._shapeSnapEffect.graphics.drawRect( 0, 0, L.W_CLIP, L....
来源: Laya_社区 发布时间: 20170618
...r state2:AnimatorState = new AnimatorState(); state2.name = "ride"; state2.clipStart = 0 / 581; state2.clipEnd = 33 / 581; state2.clip = animator.getDefaultState().clip; state2.clip.islooping = true; //给该动画状态添加脚本 var asst2:AnimatorStateScriptTest = state2.addScript(AnimatorStateS...
来源: Laya2.0_文档 发布时间: 20210714
..."resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folder.png", "resource/ui/clip_tree_arrow.png"], Handler.create(this, onLoadComplete)); } private function onLoadComplete():void { var xmlString:String;//创建一个xml字符串,...
来源: Laya3.0_api 发布时间: 20231115
...ate Implements IClone Index Constructors constructor Properties _isLooping clipEnd clipStart curTransition cycleOffset name speed EVENT_OnStateEnter EVENT_OnStateExit EVENT_OnStateLoop EVENT_OnStateUpdate Accessors clip islooping soloTransitions transitions Methods addScript clone cloneTo event getS...
来源: Laya3.0_api 发布时间: 20231115
字体切片组件(FontClip)1、使用LayaAir IDE创建FontClip1.1 创建FontClip1.2 FontClip属性介绍1.3 脚本控制FontClip2、代码创建FontClip字体切片组件(FontClip) FontClip组件本质上是对位图从方向上进行等比切割,FontClip继承于Clip。FontClip的组件...
来源: Laya3.0_文档 发布时间: 20240910