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

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

621. laya.net.Socket [ 58%]

...议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Socket(host:String = null, port:int = 0, byteClass:Class = null) 创建新的 Socket 对象。默认字节序为 So...

来源: laya_api 发布时间: 20170929

622. laya.d3.core.render.BaseRender [ 58%]

...维向量。 BaseRender event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型是否...

来源: laya_api 发布时间: 20170929

623. [Error] TypeError: null is not an object (evaluating 'this._style._tf') [ 58%]

... exist: Object {init: } 请问object层中添加的sprite怎么添加点击事件 IDE不能运行调试提示:Chrome error: Error:... LayaAirIDE2.2 - Laya3D init error ,must support webGL 问题状态 最新活动: 2018-10-22 17:04 浏览: 5513 关注: 2 人 123黄 • 2018-10-27 11:12 在测试...

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

624. laya.net.Socket [ 57%]

...议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 SocketPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Socket(host:String = null, port:int = 0, byteClass:Class = null, protocols:Array = null) 创建新的 Socket 对象...

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

625. Sprite3D的Layer(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 57%]

..._clone2.layer = 3; layaMonkey_clone3.layer = 4; ...... //切换图层按钮事件监听 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { this.camera.removeAllLayers(); this.layerIndex ++; this.camera.addLayer(this.layerIndex%4 +1); this.camera.addLayer(5); }); ``` ![](img/1.gif)(...

来源: Laya2.0_文档 发布时间: 20210715

626. Sprite3D的Layer(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 57%]

..._clone2.layer = 3; layaMonkey_clone3.layer = 4; ...... //切换图层按钮事件监听 this.changeActionButton.on(Laya.Event.CLICK, this, function():void { this.camera.removeAllLayers(); this.layerIndex ++; this.camera.addLayer(this.layerIndex%4 +1); this.camera.addLayer(5); }); ``` ![](img/1.gif)(...

来源: Laya2.0_文档 发布时间: 20210715

627. .ani文件能预加载吗? [ 57%]

...= new Animation(); ani.loadAnimation("ani/TX001.ani"); //动画播放完的事件 ani.on(Laya.Event.COMPLETE,this,(ani:Animation)=>{ ani.removeSelf(); ani.destroy(); },[ani]); ani.play(0,false); 2018-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

628. 想使用try。。catch捕捉socket连接异常无效 [ 57%]

...个回复 Monica - 知识达人 赞同来自: 你直接监听socket的error事件即可 2017-10-24 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sen3779494 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有...

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

629. 使用自定义shader的3d模型会被2d页面遮挡 [ 57%]

...Laya.Tween.to来做缓动呢?比如position或者scale 分享:自定义事件派发与侦听(A页面派发 B页面侦听) LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 加载到舞台的3D模型不显示贴图 使用3D时候,Property 'getComponentByType' does n...

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

630. Sprite3D的Layer(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 57%]

..._clone2.layer = 3; layaMonkey_clone3.layer = 4; ...... //切换图层按钮事件监听 changeActionButton.on(Event.CLICK, this, function():void { camera.removeAllLayers(); layerIndex ++; camera.addLayer(layerIndex%4 +1); camera.addLayer(5); }); ``` ![](img/1.gif)(图1)

来源: Laya2.0_文档 发布时间: 20210715