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

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

1091. 3D角色动作播放时长不正确 [ 61%]

...rs/administrator/documents/myLaya/bin/libs/laya.core.js:11854:33)     at EventHandler.__proto.runWith (file:///D:/Users/administrator/documents/myLaya/bin/libs/laya.core.js:675:28)     at ResInfo.__proto.event (file:///D:/Users/administrator/documents/myLaya/bin/libs/laya.core.js:452:29)     a...

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

1092. laya.display.Text [ 61%]

...| All Classes | Index | Frames No Frames TextProperties | Methods | Events | Constants Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定...

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

1093. 视频节点 · LayaAir3.4 · 引擎文档 · LAYABOX [ 61%]

...行一次 onAwake(): void { // 鼠标点击触发播放 Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/layaAir.mp4").then(() => { this.video.play(); //播放视频 }); }) } } 如果是在LayaAir IDE中运行,则VideoNode无需通过事件触发播放。但是在Chro...

来源: Laya3.0_文档 发布时间: 20251010

1094. 求指点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

1095. 用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

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

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

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

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

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

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

1098. 动画不显示 [ 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

1099. laya.ui.Box [ 61%]

...| 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

1100. 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