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

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

1121. laya.display.EffectAnimation_API3.0 [ 61%]

...aying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playEvent rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache target texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent ...

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

1122. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 61%]

...runWith (laya.core.js:686) at ResInfo.loadComplete (laya.core.js:12634) at EventHandler.__proto.runWith (laya.core.js:687) at ResInfo.__proto.event (laya.core.js:465) at LoaderManager.__proto._endLoad (laya.core.js:12504) at Loader.onLoaded (laya.core.js:12481) at EventHandler.__proto.runWith (laya....

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

1123. 用LayaAir引擎解析Tiled Map地图(JavaScript-2D进阶篇(JS)-扩展模块) [ 60%]

...3倍 this.tMap.scale = 3; this.MapX = 0; this.MapY = 0; Laya.stage.on(Laya.Event.RESIZE,this,resize); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,mouseDown); Laya.stage.on(Laya.Event.MOUSE_UP,this,mouseUp); resize(); } /** * 移动地图视口 */ function mouseMove(){ var moveX = this.MapX - (Laya.stag...

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

1124. Laya1.6.2发布flash版本 [ 60%]

...dobe.com/AS3/2006/builtin::call() at laya.utils::Handler/runWith() at laya.events::EventDispatcher/event() at laya.resource::Resource/completeCreate() at laya.webgl.resource::WebGLCharImage/recreateResource() at laya.resource::Resource/activeResource() at laya.resource::Texture/active() at laya.webg...

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

1125. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 60%]

...js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto._endLoad (laya.core.js:14880)     at Loader.onLoaded (laya.core.js:14850)     at EventHand...

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

1126. TextInput 在panle里滚动后输入位置错乱,求解 [ 60%]

...-25 0 6 分享 微博 QZONE 微信 水晶 赞同来自: this.input.on(Laya.Event.FOCUS,this,()=>{ this.board.scrollPane.touchEffect = false; }) this.input.on(Laya.Event.BLUR,this,()=>{ this.board.scrollPane.touchEffect = true; }) 2019-03-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...

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

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

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

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

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

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

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

...行一次 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

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