大约有 98 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0030 秒)
...ameMain{ 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.log("In One, Time = " + Date.now()); } } new GameMain(); 控制台结果如下 Before I...
来源: Laya_社区 发布时间: 20190827
...有。 附件 : --> 2020-11-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: LayaAir 2.x修改方法: 如果是源码版是BlendMode.ts 找到 static BlendAdd(gl: WebGLRenderingContext):...
来源: Laya_社区 发布时间: 20201119
...有。 附件 : --> 2020-07-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 layabox 赞同来自: Chiuan 、Hel 、西西de弗斯 LayaAir 2.x修改方法: 如果是源码版是BlendMode.ts 找到 static Blen...
来源: Laya_社区 发布时间: 20200708
box2d动态创建绑定多个关节报错 Node:the component is singleton,can't add the second one. 需求:模拟粘性小球,与任何物体发生碰撞后,在容器内动态创建多个DistanceJoint 与多个不同rigBody做距离关系绑定 代码片段: onTriggerEnter(other: any, se...
来源: Laya_社区 发布时间: 20190609
...方案 附件 : --> 2020-09-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞同来自: ebaww LayaAir 2.x修改方法: 如果是源码版是BlendMode.ts 找到 static BlendAdd(gl: WebGLRenderingCon...
来源: Laya_社区 发布时间: 20200917
...RSE_SUBTRACT BLENDEQUATION_SUBTRACT BLENDPARAM_BLENDCOLOR BLENDPARAM_BLEND_ONEMINUS_COLOR BLENDPARAM_DST_ALPHA BLENDPARAM_DST_COLOR BLENDPARAM_ONE BLENDPARAM_ONE_MINUS_DST_ALPHA BLENDPARAM_ONE_MINUS_DST_COLOR BLENDPARAM_ONE_MINUS_SRC_ALPHA BLENDPARAM_ONE_MINUS_SRC_COLOR BLENDPARAM_SRC_ALPHA BLENDPAR...
来源: Laya3.0_api 发布时间: 20231102
...c class RenderStateInheritanceRenderState ObjectImplements laya.d3.core.IClone RenderState 类用于控制渲染状态。 Public Properties PropertyDefined By blend : int透明混合。RenderState blendConstColor : Vector4混合常量颜色。RenderState blendEquation : int混合方程。R...
来源: Laya2.0_api 发布时间: 20190513
...alInheritanceBaseMaterial laya.resource.ResourceImplements laya.d3.core.ICloneSubclasses ExtendTerrainMaterial, GlitterMaterial, PBRMaterial, ShurikenParticleMaterial, StandardMaterial, TerrainMaterial, WaterDetailMaterial, WaterMaterial BaseMaterial 类用于创建材质,抽象类,不允许实例...
来源: laya_api 发布时间: 20170929
...rate(/*laya.webgl.WebGLContext.SRC_ALPHA*/0x0302,/*laya.webgl.WebGLContext.ONE_MINUS_SRC_ALPHA*/0x0303,/*laya.webgl.WebGLContext.ONE*/1,/*laya.webgl.WebGLContext.ONE*/1); } 类库1.7.10中: BlendMode.BlendNormal=function(gl){ gl.blendFunc(/*laya.webgl....
来源: Laya_社区 发布时间: 20170923
...ion(gl){ // gl.blendFunc(/*laya.webgl.WebGLContext.ONE*/1,/*laya.webgl.WebGLContext.DST_ALPHA*/0x0304); gl.blendFunc(/*laya.webgl.WebGLContext.ONE*/1,/*laya.webgl.WebGLContext.ONE*/1); } 在这里修改也没起作用 附件 : --> 2021-...
来源: Laya_社区 发布时间: 20210105