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

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

231. laya.ui.Tree_API3.0 [ 83%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...

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

232. laya.ui.ComboBox [ 83%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...

来源: laya_api 发布时间: 20170929

233. parameter 2 is not of type 'WebGLTexture' [ 83%]

parameter 2 is not of type 'WebGLTexture'   var htmlC:HTMLCanvas = btn_edit.drawToCanvas(btn_edit.width, btn_edit.height, 0, 0); var interceptT:Texture = new Texture(htmlC); var img:Sprite = new Sprite; img.graphics.drawImage(interceptT, 0, 0, btn_edit.width, btn_edit.height); Laya.stage.addChild(...

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

234. laya.ui.Button [ 83%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...

来源: laya_api 发布时间: 20170929

235. laya.ui.Panel [ 82%]

...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...

来源: laya_api 发布时间: 20170929

236. 分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) [ 82%]

...件,要注意一下它们之间的依赖关系和引用顺序<script type="text/javascript" src="libs/pomelo/index.js"></script> <script type="text/javascript" src="libs/pomelo/protocol.js"></script> <script type="text/javascript" src="libs/pomelo/protobuf.js"></sc...

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

237. laya.ui.TextInput_API3.0 [ 82%]

...trokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubble...

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

238. ts 用 getChildByName 返回类型出错 [ 81%]

...么解决 var text:Laya.Text = someNode.getChildByName('textName'); [ts] Type 'Node' is not assignable to type 'Text'. Property '_text' is missing in type 'Node' 2016-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

239. parameter 2 is not of type 'WebGLTexture'. [ 81%]

parameter 2 is not of type 'WebGLTexture'. 播放视频,PC端播放正常Chrome F12手机模式调试播放报laya.core.js:906 Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLTexture'. 代码如下:// 创建video对象 let videoE...

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

240. laya.d3.core.scene.BaseScene [ 81%]

...片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Lay...

来源: laya_api 发布时间: 20170422