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

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

791. 读URL parameter [ 72%]

...正常加载xml,可一到手机就显示invalid url parameter 2 is not of type 'WebGLTexture' Texture2D.load 中url 不能是网络图片吗 parameter 2 is not of type 'WebGLTexture'. URL的代码修改建议 用Laya.Scene.open(url)的方法打开场景,会自动关闭前一个场景,如何设...

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

792. 音乐文件能预加载吗 [ 72%]

...可以,比如Loader中的url数组加上 {"url":"res/sound/perfect.mp3","type":Laya.Loader.SOUND} 2018-04-09 0 2 分享 微博 QZONE 微信 w1114367261 赞同来自: 可以的,加载type是Loader.SOUND Laya.loader.load("xxx/xxx/xxx.mp3", Handler.create(this, onLoaded),null,Loader.SOUND);   2018...

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

793. laya.ui.Panel [ 72%]

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

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

794. laya.display.Stage_API3.0 [ 72%]

...域的属性为: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

795. LAYA官方ByteArray如何使用 [ 72%]

...; sendByt.endian = endian; sendByt.writeShort(errorId); sendByt.writeShort(type); sendByt.writeShort(re); socket.flush(); 这样写不对吗,为什么会提示writeShort不是个方法? 2017-08-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

796. laya.utils.ClassUtils_API3.0 [ 72%]

...sMap getClass getInstance regClass Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface

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

797. laya.ui.ColorPicker_API3.0 [ 72%]

...域的属性为: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

798. 读取文件编码问题 [ 71%]

...,为什么要这么做?       MiniAdpter.getUrlEncode=function(url,type){         if(url.indexOf(".fnt")!=-1)             return "utf8";         else if(type=="arraybuffer")         return "";         return "ascii";     } 2018-05-10 添加评论 免费帖...

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

799. 如何去掉或禁用密码框的自动完成功能? [ 71%]

...能?在某些版本的谷歌浏览器中,密码输入框即 TextInput.type = Input.TYPE_PASSWORD 时,点击密码输入框会显示黄底框并有什么“使用以下项的功能”,并自动填上之前填的的密码。很丑很烦人有没有。   附件 : --> 2017-08-29 添加评论 ...

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

800. laya.physics.DestructionListener_API3.0 [ 71%]

...yeParticle SayGoodbyeParticleGroup Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface

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