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

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

281. 分享一个自己做的游戏公告功能,跑马灯效果 [ 67%]

...于播放状态 */ isPlayIng:boolean = false /** 空格 */ private space:string = "<span>                          </span>" constructor() { super() this.width = 1200 this.height = 55 this.visible = false this.pos(565,150) this._createHorn() this._createBg() this...

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

282. laya.ui.FontClip [ 67%]

...chy : Boolean[read-only] 获取在场景中是否激活。 Node  align : String水平对齐方式FontClip alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值...

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

283. laya.ui.ColorPicker [ 67%]

...获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  borderColor : String 表示颜色样本列表面板的边框颜色...

来源: laya_api 发布时间: 20170929

284. laya.ui.Dialog [ 67%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...

来源: laya_api 发布时间: 20170929

285. laya.ui.UIGroup [ 67%]

...法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent ...

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

286. laya.ui.CheckBox [ 67%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对象...

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

287. laya.d3.core.Transform3D [ 67%]

...owner:Sprite3D) 创建一个 Transform3D 实例。 Transform3D event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  getForward(forward:Vector3):void 获取向前方向。 Transform3D  getRight(right:Vector3):void 获取向右方向。 Transform3D  getUp(up:Vector3):void ...

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

288. Socket能连接到服务器,客户端发请求也能收到服务端的数据,但是服务端主动推送数据,客户端就是收不到数据? [ 67%]

...r socket:Socket=null; private var list:Array=; public function Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.on(Event.CLOSE, this, onSocketClose); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Event.ERROR, this, onConnectError); sock...

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

289. laya.ui.VBox [ 67%]

...archy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 子对象对齐方式。LayoutBox alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过piv...

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

290. laya.utils.PerfHUD [ 67%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...

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