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

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

1091. 求指点3d射线碰撞和UI点击穿透的问题 [ 61%]

... 、lyjkensou1 给stage添加一个监听事件 给ui命一个名字 监听event.target.name 2018-01-20 2 2 分享 微博 QZONE 微信 suteam 赞同来自: fevilbo 已解决,先监听舞台的MOUSE_DOWN事件,然后对其回调的evt.target进行检测即可知道是UI还是3d模型 2018-01-30 1...

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

1092. 用LayaAir引擎解析Tiled Map地图(TypeScript-2D进阶篇(TS)-扩展模块) [ 61%]

...ale(0,0); //将原地图放大3倍 this.tMap.scale = 3; Laya.stage.on(Laya.Event.RESIZE,this,this.resize); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); this.resize(); } /** * 移动地图视口 */ private mouseMove():void{ var mo...

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

1093. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 61%]

...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ​ ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我...

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

1094. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 61%]

...MLHttpRequest`和`XMLHttpRequestUpload`都继承了同一个`XMLHttpRequestEventTarget`接口所以upload也具有上述事件。 ​ ## 在laya中怎么使用 laya中用HttpRequest对XMLHttpRequest进行了简单的封装,HttpRequest继承的是EventDispatcher,具有事件派发的功能。我...

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

1095. 动画不显示 [ 61%]

...import laya.display.Stage;     import laya.ui.Label;     import laya.events.Event;     import laya.utils.Browser;     import laya.utils.Timer;     import laya.display.Sprite;     import laya.net.Loader;     import laya.ui.TextArea;     import laya.resource.Texture;     imp...

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

1096. laya.ui.Box [ 60%]

...| All Classes | Index | Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox Component Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, Tree, UIGroup, View, ViewStack Box 类是一个控件容器类。 Public P...

来源: laya_api 发布时间: 20170929

1097. laya.media.SoundNode [ 60%]

...l Classes | Index | Frames No Frames SoundNodeProperties | Methods | Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Numbe...

来源: laya_api 发布时间: 20170422

1098. laya.html.dom.HTMLIframeElement_API3.0 [ 60%]

...ns customRender destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_height get_scaleX get_scaleY get_transform get...

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

1099. 解决跨域相关! [ 60%]

...连不上, 看代码-> this.hr=new HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send("http://www.baidu.com", null, '...

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

1100. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 60%]

...s or display objects without image resources), specifies whether the mouse events penetrate this object's collision detection. `true` means the object is penetrable, `false` means it is not penetrable. * When penetrable, the engine will no longer detect this object and will recursively check its chi...

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