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

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

2581. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 42%]

...endChild(mapDiv);       // 适应窗口尺寸 refit(); Laya.stage.on(Event.RESIZE, this, refit);   // 初始化地图 map = new BMap.Map(mapDiv);   // 禁用部分交互 //map.disableDragging(); map.disableKeyboard(); map.disableScrollWheelZoom(); map.disableDoubleClickZoom(); map.dis...

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

2582. LayaNative 是不是不支持3D啊 [ 41%]

...                                             at e.i.event (http://stand.alone.version/lib ... 1:9147)                                                 at i.n._endLoad (http://stand.alone.version/lib ... 186404)                              ...

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

2583. 动画实例在调用含有名字参数的时候获取不到边界 [ 41%]

... 骨骼动画播放完后的回调时间 图集打包找不到图集文件 Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 问题状态 最新活动: 2020-09-11 15:01 浏览: 2083 关注: 2 人 198*****136 • 2020-09-11 16:34 export default class Scene_Ba...

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

2584. Sprite-切换纹理 [ 41%]

....width / 2, Laya.stage.height / 2); this.switchTexture(); this.ape.on(Laya.Event.CLICK, this, this.switchTexture); } switchTexture() { let monkey = (this.flag = !this.flag) ? monkey1Res : monkey2Res; this.ape.graphics.clear(); this.ape.graphics.drawTexture(monkey, 0, 0); this.ape.size(monkey.width, ...

来源: Laya2.0_示例 发布时间: 20251223

2585. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 41%]

...eleton = templet.buildArmature(1); skeleton.pos(400,600); skeleton.on(Laya.Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); graphic.drawRect(-rectangle.x, -r...

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

2586. Shader预编译(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 41%]

...官方边缘光照(Shader_GlowingEdge)示例 ```typescript Laya.stage.on(Event.MOUSE_DOWN,this,function(){ let arr; for(let i = 0;i 生成的相关数据 ```typescript { "GlowingEdgeMaterial":[ { "defineNames":["DIRECTIONLIGHT"], "passIndex":0, "subShaderIndex":0 }, { "defineNames":["DIRECTIONLIGHT"...

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

2587. 关于缓动函数from的一些问题记录 [ 41%]

...图集加载问题 关于适配采用showAll后留白部分的颜色问题 event自定义事件的问题 关于Dialog遮罩层移除解决问题的说明 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 ...

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

2588. Skeleton骨骼动画内存泄漏 [ 41%]

...== 97){ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.destroy(); this.te = null; this.sk.destroy(); this.sk = null; } } ...

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

2589. 使用百度地图显示当前位置(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 41%]

...hild(this.mapDiv); // 适应窗口尺寸 this.refit(); Laya.stage.on(Laya.Event.RESIZE, this, this.refit); // 初始化地图 this.map = new this.BMap.Map(this.mapDiv); // 禁用部分交互 //this.map.disableDragging(); this.map.disableKeyboard(); this.map.disableScrollWheelZoom(); this.map.disa...

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

2590. 使用百度地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 41%]

...Child(this.mapDiv); // 适应窗口尺寸 this.refit(); Laya.stage.on(Laya.Event.RESIZE, this, this.refit); // 初始化地图 this.map = new this.BMap.Map(this.mapDiv); // 禁用部分交互 //this.map.disableDragging(); this.map.disableKeyboard(); this.map.disableScrollWheelZoom(); this.map.disabl...

来源: Laya3.0_文档 发布时间: 20251010