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

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

251. laya.particle.ParticleSetting [ 49%]

...EmitterRadius : Number = 30环发射器半径ParticleSetting  ringEmitterUp : int = 2环发射器up向量,0代表X轴,1代表Y轴,2代表Z轴ParticleSetting  ringEmitterVelocity : Number = 0环发射器速度ParticleSetting  ringEmitterVelocityAddVariance : Number = 0环发射器速度随机...

来源: laya_api 发布时间: 20170929

252. layaAir真的没办法做涂鸦板? [ 48%]

....stage.on(Laya.Event.MOUSE_MOVE,this,bb) }) Laya.stage.on(Laya.Event.MOUSE_UP,this,function(){ Laya.stage.off(Laya.Event.MOUSE_MOVE,this,bb) }) function bb(e){ s.graphics.clear(); arr[arr.length-1].push(e.stageX); arr[arr.length-1].push(e.stageY); for(var i=0;i<arr.length;i++){ s.graphics.drawLin...

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

253. 微信小游戏声音,使用playsound播放音效问题 [ 48%]

...!我测试了一下并没有你说的问题! this.stage.on(Event.MOUSE_UP, this, onB); private function onB():void          {             Laya.SoundManager.playSound("res/sound/onClick.wav");         } 你看看是不是你的代码逻辑有问题那? 2018-05-03 0 2 分...

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

254. IDE里面的一张图片,1.响应鼠标的区域如何不让它偏移图片(理想:点击图片响应,图片之外不响应;现在:响应的区域跟图片有偏移);2.拖拽图片移动位置,松手后,恢复原位(现在为什么不能恢复原位) [ 48%]

...享 微博 QZONE 微信 Luren_yi 赞同来自: 建议使用监听Down Move Up 三个事件,打飞机事例 2018-02-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiahaijiao 相关问题 Dialog:屏蔽点击Dialog之外的区域关...

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

255. Laya下怎么实现复制 [ 48%]

...法对不对。 2018-06-26 0 0 分享 微博 QZONE 微信 Life | Growing up 赞同来自: 你用 Laya.Browser.document.body.appendChild();  DOM方式可以用ClipboardJS  但是如果你的按钮是个UI组件 就没法了 这是硬伤  想了N多办法都不行 因为浏览器copy机制 你必...

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

256. 3D模型旋转问题,鼠标移动之后,根据按下移动的X坐标差值判断左右旋转,但是会越转越快,请问是什么问题? [ 48%]

...te(vec); } }   监听的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_UP,this,this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,this.mouseMove);   private mouseDown():void{ let mX:number = Laya.stage.mouseX; this.lastMouseX = mX; ...

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

257. laya.d3.math.Matrix4x4 [ 48%]

...objectPosition:Vector3, cameraPosition:Vector3, cameraRight:Vector3, cameraUp:Vector3, cameraForward:Vector3, mat:Matrix4x4):void[static] 计算BlillBoard矩阵 Matrix4x4  clone():* 克隆。 Matrix4x4  cloneTo(destObject:*):void 克隆。 Matrix4x4  createAffineTransformation(trans:Vector3, r...

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

258. 重复背景,全方向地图拖动Demo [ 48%]

...宽高 1800 class WorldPage extends ui.WorldPageUI{ constructor (x,y) { super() this.maxX = 149850 this.maxY = 97500 this.offsetX = x * 150 this.offsetY = y * 150 this.downMouseX = 0 this.downMouseY = 0 Laya.loader.load(['bg/world_bg.jpg']) Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.mouseDown) La...

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

259. laya.map.TiledMap_API3.0 [ 48%]

...TION_ORTHOGONAL ORIENTATION_STAGGERED RENDERORDER_LEFTDOWN RENDERORDER_LEFTUP RENDERORDER_RIGHTDOWN RENDERORDER_RIGHTUP Accessors gridHeight gridWidth height numColumnsGrid numColumnsTile numRowsGrid numRowsTile orientation renderOrder scale tileHeight tileWidth width x y Methods changeViewPort chan...

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

260. 3d中 缓动往一个点转向并移动的问题 [ 47%]

...on,sphere3D.transform.position,dir); Quaternion.rotationLookAt(dir,Vector3.Up,out); Quaternion.slerp(transform.rotation,out, Laya.timer.delta/1000,out1); transform.rotation = out1; transform.translate(v3)   附件中是unity的效果  2018-07-26 添加评论 已悬赏5元 --> 分享 微博 QZONE ...

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