大约有 87 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0035 秒)
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 个回复 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 个回复 layabox 赞同来自: Chiuan 、Hel 、西西de弗斯 LayaAir 2.x修改方法: 如果是源码版是BlendMode.ts 找到 static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.DST_ALPHA,...
来源: Laya_社区 发布时间: 20200708
...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
...找到相关结果 已邀请: 与内容相关的链接 提交 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
...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
...| 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
...| 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
... 类库 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
Laya 1.7.14beta 引擎现在在ios系统上运行。游戏会出现显示异常 Laya 1.7.14beta 引擎 最近发现游戏在ios系统上运行显示异常,如图中。场景资源不见了。在安卓,pc上都是正常的。想问问有哪个碰到类似的问题啊?在ios 14系统都会出...
来源: Laya_社区 发布时间: 20210105