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

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

1. Laya.timer.once计时不准确的问题 [ 100%]

Laya.timer.once计时不准确的问题 import WebGL = Laya.WebGL; // 程序入口 class GameMain{ constructor() { Laya.init(600,400, WebGL); console.log("Before In One, Time = " + Date.now()); Laya.timer.once(1,this,this.One) console.log("After In One, Time = " + Date.now()); } One():void{ console...

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

2. ios14系统下 图片异常 [ 97%]

...找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: LayaAir 2.x修改方法:  如果是源码版是BlendMode.ts 找到 static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.DST_ALPHA,true); } 替换为: static Ble...

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

3. ios14系统下 blendMode='lighter' 图片异常 [ 96%]

...找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同来自: Chiuan 、Hel 、西西de弗斯 LayaAir 2.x修改方法:  如果是源码版是BlendMode.ts 找到 static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.DST_ALPHA,...

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

4. box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. [ 96%]

...t: any) {  let pointes = contact.getHitInfo().points;  let potSelf = new Laya.Point(pointes[0].x, pointes[0].y); let potOther = new Laya.Point(pointes[0].x, pointes[0].y); self.owner.globalToLocal(potSelf);  other.owner.globalToLocal(potOther);  var distanceJoint = new Laya.DistanceJoint();   d...

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

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

...找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: ebaww LayaAir 2.x修改方法:  如果是源码版是BlendMode.ts 找到 static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.DST_ALPHA,true); } 替换为: stat...

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

6. laya.d3.core.material.RenderState_API3.0 [ 94%]

...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/material/RenderState" RenderState Class RenderState RenderState 类用于控制渲染状态。 Hierarchy RenderState Index Constructors constructor Properties blend blendEquation blendEquationAlpha blendEquationR...

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

7. [LayaAirIDE3]laya3.2.4 混合模式 3d下的add效果和ui下的light差异大 [ 94%]

[LayaAirIDE3]laya3.2.4 混合模式 3d下的add效果和ui下的light差异大 png图片勾选了sRGB alpha预乘 ui:选择light模式   对应blend:one one    另一张:默认ui blend:one oneMinusSrcAlpha  3d:创建自定义材质 用同一张png图片  相同blend ui和3d对比...

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

8. laya.d3.core.material.RenderState [ 93%]

...| Frames No Frames RenderStateProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class RenderStateInheritanceRenderState ObjectImplements laya.d3.core.IClone RenderState 类用于控制渲染状态。 Public Properties PropertyDefined By  blend : int透明混合。Render...

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

9. laya.d3.core.material.BaseMaterial [ 92%]

...| Frames No Frames BaseMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class BaseMaterialInheritanceBaseMaterial laya.resource.ResourceImplements laya.d3.core.ICloneSubclasses ExtendTerrainMaterial, GlitterMaterial, PBRMaterial, ShurikenParticleMaterial, Standard...

来源: laya_api 发布时间: 20170929

10. 类库版本从 1.7.8 切换到 1.7.10 显示效果就不对了。。。麻烦帮忙看下 [ 92%]

...     类库 1.7.10 下效果:     查看应该是版本升级时 laya.webgl.js 中 BlendMode 问题   类库1.7.8中: BlendMode.BlendNormal=function(gl){             gl.blendFuncSeparate(/*laya.webgl.WebGLContext.SRC_ALPHA*/0x0302,/*laya.webgl.WebGLContext.ONE_MINUS_SRC_ALPHA*...

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