大约有 753 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)
Laya_社区(417) Laya2.0_文档(98) Laya3.0_api(64) Laya2.0_api(59) laya_api(54) Laya_示例(28) Laya3.0_文档(18) Laya2.0_示例(15)
...Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? Texture图片能否进行翻转? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 成都雨墨游戏 求 laya 程序开发人员 btn 鼠标移动上去默认文本颜色是绿色,我想换成...
来源: Laya_社区 发布时间: 20230419
...varying vec2 v_Texcoord0; varying vec3 v_Normal; uniform sampler2D u_AlbedoTexture; void main() { vec4 albedoTextureColor = vec4(1.0); albedoTextureColor = texture2D(u_AlbedoTexture, v_Texcoord0); gl_FragColor=albedoTextureColor; } ``` ##### 初始化自定义Shader > 导入着色器代码 ```javasc...
来源: Laya2.0_文档 发布时间: 20210715
...varying vec2 v_Texcoord0; varying vec3 v_Normal; uniform sampler2D u_AlbedoTexture; void main() { vec4 albedoTextureColor = vec4(1.0); albedoTextureColor = texture2D(u_AlbedoTexture, v_Texcoord0); gl_FragColor=albedoTextureColor; } ``` ##### 初始化自定义Shader > 导入着色器代码 ```javasc...
来源: Laya2.0_文档 发布时间: 20210714
...手引导的抠图透明区域为黑色,其它机型都是正常的。 Texture图片能否进行翻转? Animation如何加点击事件 关于遍历产生的sprite的点击事件,急,大神帮看哈 求指点3d射线碰撞和UI点击穿透的问题 ui list 里面的元素不能点击两次 ...
来源: Laya_社区 发布时间: 20180502
...在哪? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 Texture图片能否进行翻转? IDE1.7.8 json图集加载问题 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 如何设置Sprite的宽高和点击区域? 图集打包找不到图集...
来源: Laya_社区 发布时间: 20171016
...家有兴趣的看看 正常渲染效果 alpha遮罩 用法: var texture: Laya.Texture = Laya.Loader.getRes("progress.png"); this.spe = new coolDownSprite(); this.spe.init(texture); //this.spe.initWithoutTexture(128, 128); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.sta...
来源: Laya_社区 发布时间: 20170606
...Materials/Materials.lmat") as Laya.UnlitMaterial; var unlitTexture:Laya.Texture2D = Laya.Loader.getRes("Images/BG_PopWindow.png") as Laya.Texture2D; material.albedoTexture = unlitTexture; this.unit3D.meshRenderer.material = material; 附件 : --> 2019-09-07 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20190907
...游戏:HTMLDivElement的使用 2.1.1.1引擎微信小游戏掉帧严重 Texture图片能否进行翻转? 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 matter中layasprite怎么改变图片大小? 问题状态 最新活动: 2018-06-10 11:35 浏览: 2239 关注: 1 人 xxxxxxx...
来源: Laya_社区 发布时间: 20180609
...射 material.albedo = new Laya.Vector4(0.8, 0.8, 0.8, 0); material.diffuseTexture = Laya.Texture2D.load("images/bg03.png"); box.meshRender.material = material; //平面 var plane = sprite3D.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(15, 15, 1, 1))); plane.transform.position = new Laya.Vector3...
来源: Laya_社区 发布时间: 20180103
...日志里面点击那个path的链接打开的图片是正确的,但是texture是同一个,直接打开微信的本地文件夹也可以看到两个图片分别是在不同的路径下面的,一个是105下面一个是108下面 2019-02-26 0 4 分享 微博 QZONE 微信 Laya_Aaron 赞同来自:...
来源: Laya_社区 发布时间: 20190225