大约有 2,465 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0075 秒)
Laya_社区(2158) Laya3.0_api(99) Laya2.0_api(77) laya_api(67) Laya2.0_文档(36) Laya3.0_文档(17) Laya_示例(6) Laya2.0_示例(5)
...e自带的打包app,都会报错 报错的栈提示是调用Graphic的setAlpha后报错 在layanative里不能使用setAlpha的方法么 附件 : --> 2018-02-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 sck...
来源: Laya_社区 发布时间: 20180209
...比egret,drawCall为1,没办法去看了egret的代码,发现别人是把alpha传进buff处理的,好吧,我也尝试修改laya的代码,改后drawCall也降为1了,但是使用mesh drawCall又上去了,看代码才发现用一次mesh DrawCall就+1,我就不用mesh吧也能忍.但当我在app上运...
来源: Laya_社区 发布时间: 20190307
...s GraphicsAni Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage rem...
来源: Laya3.0_api 发布时间: 20231115
...res/image/interface/intro_bg.png",375,667,1500,1500); bg.pivot(750,750) bg.alpha = 1 bg.rotation = 10图片是正方形的 如上设置过pivot之后 并没有按 正方形中心点旋转 2018-05-19 添加评论 已悬赏1元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180519
...is.addLabel.graphics.drawRect(0, 730, 1440, 170, "#000000"); this.addLabel.alpha = 0.6; this.addLabel.mousethrough = false; this.addLabel.mouseEnabled = true; sp.addChild(this.addLabel); 仍然能够点击下面的按钮.这个要怎么处理? 2017-07-26 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20170726
...der能实现Direct3D中以下混合模式吗? 混合因子:D3DBLEND_SRCALPHA, D3DBLEND_INVSRCALPHA; opengl中为 GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA 混合方式用乘法法:D3DTOP_MODULATE ;opengl好像没有乘法??? 2017-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170908
...ebGLRenderingContext): 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...
来源: Laya_社区 发布时间: 20201119
..._color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage rem...
来源: Laya3.0_api 发布时间: 20231115
... hideEffect(): void { Laya.Tween.to(this,{y:Laya.stage.height,alpha:0},200,Laya.Ease.linearIn); } import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = Laya.Handler.create(this, th...
来源: Laya_社区 发布时间: 20190121
游戏遇到个bug, 游戏里有几处改变alpha的tween,,运行时有个很小几率的bug,,报错如下: style为null说明该对象已经destroy了,,但是报错说明仍然在执行改变alpha的缓动,这个缓动没有停止。 游戏代码是已上线的游戏,别的引...
来源: Laya_社区 发布时间: 20170217