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

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

371. 在最新的IOS14上,UI的lighter模式渲染不正确,背景是黑色的,无法实现透明 [ 81%]

...nderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.DST_ALPHA,true); } 替换为: static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.ONE,true); }      非源码版在laya.core.js里找到 static BlendAdd(gl) { WebGLContext.setBlendFunc(gl, g...

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

372. laya.d3.component.animation.CameraAnimations [ 81%]

...how Inherited Public Properties PropertyDefined By  addMode : Boolean = true叠加模式。CameraAnimations currentAnimationClipIndex : int[read-only] 获取播放器的动画索引。 KeyframeAnimations currentFrameIndex : int[read-only] 获取播放器帧数。 KeyframeAnimations destroyed :...

来源: laya_api 发布时间: 20170603

373. laya.particle.ParticleSetting [ 81%]

...ting  colorComponentInter : Boolean = falsefalse代表RGBA整体插值,true代表RGBA逐分量插值ParticleSetting  disableColor : Boolean = falsefalse代表使用参数颜色数据,true代表使用原图颜色数据ParticleSetting  duration : Number = 1粒子持续时间(单位:秒)Par...

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

374. Tween.to 执行失败 [ 81%]

...) ; } function onWalk(dir){ switch(dir){ case "up": hero_p1.roleAni.play(0,true,"p1_walk_up"); Laya.stage.addChild(hero_p1.roleAni); break ; case "down": hero_p1.roleAni.play(0,true,"p1_walk_down"); Laya.stage.addChild(hero_p1.roleAni); break ; case "left": hero_p1.roleAni.play(0,true,"p1_walk_left"...

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

375. 扩展性问题 [ 81%]

...个能不能支持可扩展吧 Object.defineProperty(o,name,{configurable:true,get:getfn,set:setfn,enumerable:false}); 比方说加上configurable:true这个字段 让开发者自己可以 去扩展getset函数啊 现在没有这个字段的话 开发者没办法重写getset函数 手动修改源码...

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

376. 如何知道一个dialog是否已关闭? [ 81%]

...管有没有再调用close,dialog的destroyed 都为false,isPopup都为true。 有什么属性可以知道这个dialog是否已关闭?    2017-04-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying ...

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

377. List选中项下滚会变 [ 81%]

...}; } this.sList.dataSource = data;//批量赋值 this.sList.selectEnable = true;//列表项是否可选 // this.sList.selectHandler = Laya.Handler.create(this,this.onSelect,null,false); this.sList.mouseHandler = new Laya.Handler(this,this.onMouse);//鼠标事件响应 } Laya.class(ServerListView,"Se...

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

378. 请教如何实现完美的LoopList?尝试了下总是有倒带的卡顿动作隐藏不掉 [ 81%]

...带 private onLoop(){              if(this.WheelList.visible==true)             {                 this.WheelList.set_visible(false);                 this.WheelList2.set_visible(true);                  this.WheelList.scrollBar....

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

379. dialog可以点击到外部的元素,如何使其外边不能点击 [ 81%]

...么阻止冒泡 e.stopPropagation()、还有设置hitArea啦、Dialog.lock(true);啦都不行,谁能给我段可行的代码? 2018-04-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 6 个回复 hepengwei 赞同来自: A...

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

380. laya.d3.terrain.Terrain [ 80%]

...):Number 获取地形Z轴长度。 Terrain destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事...

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