大约有 89 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 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
[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
...| 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