• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 98 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)

21. 动画状态脚本(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 86%]

...状态 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

22. 动画状态脚本(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 86%]

...状态 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

23. Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? [ 85%]

...Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 2018-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 八阿哥 赞同来自: 伐木工人 、yzbgyc 、013 Animator有一...

来源: Laya_社区 发布时间: 20180425

24. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 85%]

...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

25. laya中的截屏在WebGL下为什么无效呢? [ 85%]

...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

26. Laya中Button等组件lose skin的问题 [ 85%]

...ge 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支持异步加载。   知道了差异再去看看在laya.ui.js中,具体的处理方式是如何的: 在laya.u...

来源: Laya_社区 发布时间: 20191122

27. 动画状态脚本(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 85%]

...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

28. laya.ui.Tree_API3.0 [ 84%]

..."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

29. laya.d3.component.animator.AnimatorState_API3.0 [ 81%]

...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

30. 字体切片组件 · LayaAir3.0文档 · LAYABOX [ 77%]

字体切片组件(FontClip)1、使用LayaAir IDE创建FontClip1.1 创建FontClip1.2 FontClip属性介绍1.3 脚本控制FontClip2、代码创建FontClip字体切片组件(FontClip) FontClip组件本质上是对位图从方向上进行等比切割,FontClip继承于Clip。FontClip的组件...

来源: Laya3.0_文档 发布时间: 20230901