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

大约有 2,610 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0061 秒)

861. laya.d3.core.light.DirectionLight [ 69%]

...sses | Index | Frames No Frames DirectionLightProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class DirectionLightInheritanceDirectionLight LightSprite Sprite3D ComponentNode Node EventDispatcher Object DirectionLight 类用于创建平行光。 Public Properti...

来源: laya_api 发布时间: 20170929

862. radioGroup设置labels后,每个radio的icon皮肤无法显示了 [ 69%]

... dialog.popup();          dialog.btn_question_dialog_next.on(Laya.Event.CLICK, this, onNext); dialog.radioGroup_question.labels = "如果资源未加载,则先加载资源,\n加载完成后应用于此对象。,"+"如果资源未加载,则先加载资源,\n加载完成后应用于此...

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

863. Spine适配版(TypeScript-LayaAir基础篇(TS)-动画基础) [ 69%]

...eTempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleto...

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

864. ts项目发布的时候报错 [ 69%]

...时,构建的时候报错。 点击发布,构建,然后出现报错 events.js:160 throw er; // Unhandled 'error' event ^ Error: spawn tsc ENOENT at exports._errnoException (util.js:1022:11) at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32) at onErrorNT (internal/child_p...

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

865. 引擎示例中的错误 [ 69%]

...layabox. ... DForm 1、constructor里的最后一行: Laya.stage.on(Laya.Event.RESIZE, this, this.fitDOMElements, [emailInput, birthdayInput, passwordInput]); 当stage调整尺寸时,对3个input位置进行调整,当初次运行时,3个input框排在网页左上角,必须手动改变一...

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

866. 请问有没有方法能够获取“鼠标是否处于按下状态”? [ 69%]

...的时候  才监听 move事件的话! onMouseDown  中 Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); onMouseUp  中   Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); 也可以写个变量  ,down的时候为true,否则为false  如"cuixueying"  回答的一样! 2017-04-21 ...

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

867. 关于button的click监听 [ 69%]

...tn.label="AAAAAA"; btn.pos(200,200); Laya.stage.addChild(btn); btn.on(Laya.Event.CLICK,this,()=>{console.log("click button");});   请问 这样监听不到button的点击事件吗?如果我创建一个ui.view  a  a.on 也监听不到吗 2017-11-28 添加评论 免费帖 --> 分享 微博 QZ...

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

868. 分享:DrawToCanvas内存释放问题! [ 69%]

...ackage { import laya.display.Sprite; import laya.display.Text; import laya.events.Event; import laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Stat; public class LayaAirDemo { private var sp:Sprite ;//被截屏对象 private var htmlC:HTMLCanvas;...

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

869. 微信小游戏iOS滑出控制中心或通知中心,导致音乐自动停止。 [ 69%]

...提交 1 个回复 bpmf_d 赞同来自: // 失去焦点 Laya.stage.on(Laya.Event.BLUR,this,function(){}); // 获得焦点 Laya.stage.on(Laya.Event.FOCUS,this,function(){}); 可以试试这两个方法如果不行  就请提供一下可以复现的demo 2019-05-09 0 0 分享 微博 QZONE 微信 为...

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

870. https://ask.layabox.com/question/7441?column=log&rf=false [ 69%]

...事件,再=false,事件没响应 Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false state.clip.islooping = false;无法再次播放动画。 非可见区域的对象尽量从显示列表移除或者设置visible=fal...

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