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

大约有 312 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)

51. 为什么使用遮罩会卡死?已上传附件 [ 67%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使...

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

52. laya.map.GridSprite [ 67%]

...cumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properti...

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

53. laya.ui.ScaleBox [ 67%]

...ackagelaya.uiClasspublic class ScaleBoxInheritanceScaleBox Box UIComponent Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inher...

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

54. laya.display.FrameAnimation [ 67%]

...sspublic class FrameAnimationInheritanceFrameAnimation AnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值...

来源: laya_api 发布时间: 20170929

55. 关于Sprite回收 [ 67%]

关于Sprite回收 // 移除item         for(var i = 0; i < this.numChildren; i++) {             console.log(this.numChildren);             var item = this.getChildAt(i);             if(item instanceof Item) {                 item.removeSelf();               ...

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

56. laya.ui.Box [ 67%]

...s | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited Public Properties Show Inherited Publi...

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

57. laya.ui.VBox [ 67%]

...ackagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box Component Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

58. laya.ui.TipManager [ 67%]

...Packagelaya.uiClasspublic class TipManagerInheritanceTipManager Component Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示透...

来源: laya_api 发布时间: 20170929

59. 关于cacheAsBitmap如果有动态内容,最好和静态内容分开,以便只缓存静态内容的理解 [ 67%]

...如按钮),可以对整个容器设置cacheAs属性,能大量减少Sprite的数量,显著提高性能。如果有动态内容,最好和静态内容分开,以便只缓存静态内容。 问题: 第二点提到的(如果有动态内容,最好和静态内容分开,以便只缓存静...

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

60. BoxCollider 会随着父节点 翻转 scaleX=-1 [ 67%]

BoxCollider 会随着父节点 翻转 scaleX=-1 给他Sprite 添加了 BoxCollider,在场景编辑器里设置了Sprite scaleX为-1,编辑器里显示Sprite和BoxCollider都有翻转 但在运行效果里BoxCollider却没有翻转? 2018-10-30 添加评论 免费帖 --> 分享 微博 QZONE ...

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