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

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

451. laya.ui.View [ 72%]

... Events Packagelaya.uiClasspublic class ViewInheritanceView Box Component Sprite Node EventDispatcher ObjectSubclasses Dialog View 是一个视图类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默...

来源: laya_api 发布时间: 20170929

452. laya.ui.VSlider [ 72%]

...Packagelaya.uiClasspublic class VSliderInheritanceVSlider Slider Component Sprite Node EventDispatcher Object 使用 VSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 VSlider 控件采用垂直方向。滑块轨道从下往上扩展,而标签位于轨道...

来源: laya_api 发布时间: 20170929

453. laya.ui.HBox [ 72%]

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

来源: laya_api 发布时间: 20170929

454. 为什么导入的3D模型能重新设置位置 [ 72%]

为什么导入的3D模型能重新设置位置 this.fish = Laya.Sprite3D.load("Unity/" + fishName + "/yu.lh"); this.fish.transform.position = new Laya.Vector3(20, -10, 0); 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

455. Cannot read property 'toDefault' of undefined报错是什么原因 [ 72%]

...ew Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); // this.phasorSpriter3D = new Laya.PhasorSpriter3D(); } MousePickingScene.prototype.lateRender = function (state) { MousePickingScene.__super.prototype.lateRender.call(state); //从屏幕空间生成射线 this.point.elements[0] = Laya.sta...

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

456. 分享:List相关(Item增删功能) [ 72%]

...onRemoveClick回调   大致代码如下:package { import laya.display.Sprite; import laya.events.Event; import laya.net.Loader; import laya.ui.Box; import laya.ui.CheckBox; import laya.ui.Clip; import laya.utils.Handler; import ui.test.ListPageUI; public class LayaUISample { private var listP:Li...

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

457. 2.2.0使用2d粒子报错 [ 72%]

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

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

458. 自定义组件时,设置组件子节点的image的skin时,路径为layaIde的路径而非项目路径 [ 72%]

...Ide的路径而非项目路径 package laya.customUI { import laya.display.Sprite; import laya.editorUI.HSlider; import laya.editorUI.Button; import laya.ui.Image; /** * ... * @author Caixiansheng */ public class HProgressSlider extends HSlider { /**@private */ protected var _progress:Image protecte...

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

459. Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? [ 72%]

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

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

460. 图集打包后使用Texture显示[ 72%]

... { "sg.png": { "frame": { "x": 0, "y": 0, "w": 300, "h": 300, "idx": 0 }, "spriteSourceSize": { "x": 0, "y": 0, "w": 300, "h": 300 }, "sourceSize": { "w": 300, "h": 300 }, "rotated": false, "trimed": true }, "sg2.png": { "frame": { "x": 302, "y": 0, "w": 290, "h": 300, "idx": 0 }, "spriteSourceSize"...

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