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

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

121. 点击拖动图片,当鼠标移出再移回舞台中时如何保持点击状态 [ 61%]

....on(Event.MOUSE_UP,this,onUp); } private function onUp():void { Laya.stage.off(Event.MOUSE_MOVE,this,onMove); } private function onDown(e:Event):void { Laya.stage.on(Event.MOUSE_MOVE,this,onMove); } private function onMove():void { // 让sp跟随鼠标移动 sp.x=Laya.stage.mouseX; sp.y=Laya.stage.m...

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

122. 新的laya 3D插件在unity 中出现bug,求解决 [ 61%]

...ng Vertex program with DIRECTIONAL SHADOWS_SCREEN DisableLighting LIGHTMAP_OFF Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP U...

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

123. layaAir真的没办法做涂鸦板? [ 61%]

...,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.drawLines(0, 0, arr[i], "#ff0000&...

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

124. TypeError: relativePath is undefined [ 61%]

...eX - mLastMouseX); mY = mY - (Laya.stage.mouseY - mLastMouseY); Laya.stage.off(Event.MOUSE_MOVE, this, mouseMove); } // 窗口大小改变,把地图的视口区域重设下 function resize() { //改变地图视口大小 tiledMap.changeViewPort(mX, mY, Browser.width, Browser.height); } })(); ------...

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

125. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 61%]

...ctors constructor Properties _extra _scene _url name LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEXTURE SAHDERDEFINE_LIGHTMAP SHADERDEFINE_LIGHTMAP_DIRECTIONAL SHADER...

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

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

...eUI{ 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) Laya.stage.on(Laya.Event.MOUSE_UP,this,this.mouse...

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

127. laya.d3.core.MeshSprite3D_API3.0 [ 60%]

...s constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEXTURE SAHDERDEFINE_LIGHTMAP SHADERDEFINE_LIGHTMAP_DIRECTIONAL SHADER...

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

128. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 60%]

...s constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEXTURE SAHDERDEFINE_LIGHTMAP SHADERDEFINE_LIGHTMAP_DIRECTIONAL SHADER...

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

129. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 60%]

...tructor Properties _extra _scene _url name tag BONES LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEXTURE SAHDERDEFINE_LIGHTMAP SHADERDEFINE_LIGHTMAP_DIRECTIONAL SHADER...

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

130. laya.d3.core.trail.TrailSprite3D_API3.0 [ 60%]

...s constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS REFLECTIONCUBE_PROBEBOXMAX REFLECTIONCUBE_PROBEBOXMIN REFLECTIONCUBE_PROBEPOSITION REFLECTIONTEXTURE SAHDERDEFINE_LIGHTMAP SHADERDEFINE_LIGHTMAP_DIRECTIONAL SHADER...

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