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

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

31. laya.ui.UIUtils [ 90%]

...Utils 是文本工具集。 Public Methods  MethodDefined By  addFilter(target:Sprite, filter:IFilter):void[static] 给指定的目标显示对象添加滤镜。 UIUtils  adptString(str:String):String[static] 替换字符串中的转义字符 UIUtils  clearFilter(target:Sprite, filterType:Cla...

来源: Laya2.0_api 发布时间: 20190513

32. laya.ui.UIUtils [ 90%]

...Utils 是文本工具集。 Public Methods  MethodDefined By  addFilter(target:Sprite, filter:IFilter):void[static] 给指定的目标显示对象添加滤镜。 UIUtils  adptString(str:String):String[static] 替换字符串中的转义字符 UIUtils  clearFilter(target:Sprite, filterType:Cla...

来源: laya_api 发布时间: 20170929

33. 动效问题,没有 ui.TestPUI,官方文档是错的,几年了至今无解答 [ 90%]

..."y":0,"x":0,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":0},{"value":0.5,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":2},{"value":1,"tw...

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

34. laya.utils.Tween_API3.0 [ 90%]

...tils/Tween.ts:201 立即结束缓动并到终点。 Returns void from from(target: any, props: any, duration: number, ease?: Function | null, complete?: Handler | null, delay?: number, coverBefore?: boolean): Tween Defined in laya/utils/Tween.ts:100 从props属性,缓动到当前状态。 Paramete...

来源: Laya3.0_api 发布时间: 20231115

35. 请教各位前辈们,AS的一些API好像layabox没有,求解决方法或者思路,比如 Point 的interpolate方法 具体问题内详 [ 90%]

...题如下: 1、 p1.x = p2.x = Point.interpolate(value, p4, .5).x; 2、 target.graphics.beginBitmapFill(srcbmd, mx, true);    target.graphics.moveTo(p1.x, p1.y);    target.graphics.lineTo(p2.x, p2.y);    target.graphics.lineTo(p3.x, p3.y);    target.graphics.lineTo(p4.x, p4.y);    targe...

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

36. 版本1.7.14beta , tsconfig.json里 target设置为es6, 项目发布时会报错, [ 90%]

版本1.7.14beta , tsconfig.json里 target设置为es6, 项目发布时会报错, 移植代码, 因为用了get,set函数, 子类又有重写get,set 的需求,子类的get,set 又无法调用父类的get,set, 所以用了es6, 发现发布的项目的时候会报错, Files\La...

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

37. laya.utils.Dragging [ 89%]

...量。Dragging  ratio : Number = 0.92 缓动衰减系数。Dragging  target : Sprite 被拖动的对象。DraggingPublic Methods  MethodDefined By  start(target:Sprite, area:Rectangle, hasInertia:Boolean, elasticDistance:Number, elasticBackTime:int, data:*, disableMouseEvent:Boolean, ratio:Nu...

来源: laya_api 发布时间: 20170422

38. laya.utils.TimeLine_API3.0 [ 89%]

...者,如果有侦听者则值为 true,否则值为 false。 from from(target: any, props: any, duration: number, ease?: Function, offset?: number): TimeLine Defined in laya/utils/TimeLine.ts:95 从 props 属性,缓动到当前状态。 Parameters target: any target 目标对象(即将更改属...

来源: Laya3.0_api 发布时间: 20231115

39. 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target [ 89%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 启动vscode运行编译好的项目,launch chrome浏览器会出现错误: Error processing launch: Error Could not attach to main target   请教下这个是什么原因导致?如何修复? 附件 : --> 202...

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

40. FrameAnimation [ 89%]

...题:   ide版本1.7.20   "animations": [{     "nodes": [{         "target": 172,         "keyframes": {             "rotation": [{                 "value": 0,                 "tweenMethod": "linearNone",                 "tween": true,                ...

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