大约有 1,218 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0093 秒)
Laya_社区(677) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(39)
...中mouseConstraint无法拖拽刚体,ide里是正常的。添加Matter.Events.on(mouseConstraint, 'mousedown')测试,微信小游戏里有响应,但e.mouse里的参数无效 chrome调试输出mouse参数正常。 微信小游戏里参数NaN。 2018-05-20 0 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20180512
... | Index | Frames No Frames RenderableSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class RenderableSprite3DInheritanceRenderableSprite3D Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses Glitter, MeshSprite3D, ShuriKenParticle3D, SkinnedMeshSpri...
来源: laya_api 发布时间: 20170929
... All Classes | Index | Frames No Frames StageProperties | Methods | Events | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage ...
来源: laya_api 发布时间: 20170929
... t.to(glowFilter, {blur: 1}, 200, null, 0); } t.on(Event.COMPLETE, this, function(){ sp.filters = null; }); t.play(0, true); }; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cl...
来源: Laya_社区 发布时间: 20181012
...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponen...
来源: Laya3.0_api 发布时间: 20231115
...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getC...
来源: Laya3.0_api 发布时间: 20231115
...ircle(0, 0, 20, "#990000"); Laya.stage.addChild(sp); Laya.stage.on(Event.MOUSE_MOVE, this, function() { sp.pos(Laya.stage.mouseX, Laya.stage.mouseY); }); ```  (图1) 此时FPS显示30,并且在鼠标移动时,可以感觉到圆球位置...
来源: Laya2.0_文档 发布时间: 20210715
...布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerationIn...
来源: Laya_社区 发布时间: 20180322
...是为什么? 游戏内容当中,检测横竖屏: Laya.stage.on(Laya.Event.RESIZE, this, this.onResize); /** 更改适配*/ public onResize() { var stageWidth = Laya.Browser.clientWidth; var stageHeight = Laya.Browser.clientHeight; if (stageWidth < stageHeight) { console.log("one", Laya...
来源: Laya_社区 发布时间: 20170920
... | Index | Frames No Frames RenderableSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class RenderableSprite3DInheritanceRenderableSprite3D Sprite3D Node EventDispatcher ObjectSubclasses MeshSprite3D, PixelLineSprite3D, ShuriKenParticle3D, SkinnedMeshSprite3D, TerrainChun...
来源: Laya2.0_api 发布时间: 20190513