大约有 448 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
Laya_社区(258) Laya3.0_api(86) Laya2.0_文档(58) Laya_示例(22) Laya3.0_文档(14) Laya2.0_api(6) laya_api(4)
... 的放缩策略 如何在chrome console 里模拟canvas点击事件 请问Texture2D如何用base64字符串构建对象 在初始化时候使用canvas 或者WebGL 两种模式对使用引擎有什么区别? 可以在动画骨骼中插入Laya元件吗 LayaAir无法正确识插入别泛型TS代码...
来源: Laya_社区 发布时间: 20171105
...caught getUint16 error - Out of bounds 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 怎么清除graphics画出的图像啊?? unity导出模型,材质球贴图丢失 请问如何画出ray射线 问题状态 最新活动: 2018-04-04 21:07...
来源: Laya_社区 发布时间: 20180404
... 出现 试图访问该方法时失败 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 JS如何调用经过转换的FLASH游戏里的方法? 節點的destroy方法參數默認為true時是否會遞歸調用子對象的destroy方法? 对象...
来源: Laya_社区 发布时间: 20201116
... new StandardMaterial(); material.diffuseTexture = Texture2D.load("res/layabox.png"); Plane.meshRender.material = material; 2018-10-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 158****...
来源: Laya_社区 发布时间: 20181018
...erial:StandardMaterial = new StandardMaterial(); material.diffuseTexture = Texture2D.load("res/threeDimen/layabox.png"); plane.meshRender.material = material; 2017-01-03 0 0 分享 微博 QZONE 微信 jp19870122 赞同来自: 好的,谢谢! 2017-01-04 0 0 分享 微博 QZONE 微信 为什么被...
来源: Laya_社区 发布时间: 20170103
...;\n" + "uniform sampler2D u_texture;\n" + "void main(){\n" + "gl_FragColor=texture2D(u_texture, v_Texcoord);}\n";自定义材质class CustomMaterial extends Laya.BaseMaterial { static DIFFUSETEXTURE_ID: number = 1; constructor() { super(); this.setShaderName("CustomShader"); } public getDiffuseTextu...
来源: Laya_社区 发布时间: 20170815
...vec2 v_Texcoord; uniform sampler2D u_Texture; void main() { gl_FragColor = texture2D(u_Texture, v_Texcoord); }` outlineShader.addShaderPass(outline_vs, outline_ps) outlineShader.addShaderPass(base_vs, base_ps) this.setShaderName("OutlineShader") this.getRenderState(0).cull = 1 } set diffuseTexture (...
来源: Laya_社区 发布时间: 20180925
...BUG】升级了Laya2.0.2新版LayaAir.d.ts和js库API对不上!! 请问Texture2D如何用base64字符串构建对象 layaair2.0)请问js的Laya.Event.FRAME怎么用,看api中有,但写了不执行。 打包百度小游戏不能播放声音?是api不支持 还是发生了改变 或者格...
来源: Laya_社区 发布时间: 20170917
...e; void main() { vec4 albedoTextureColor = vec4(1.0); albedoTextureColor = texture2D(u_AlbedoTexture, v_Texcoord0); gl_FragColor=albedoTextureColor; } ``` ##### 初始化自定义Shader > 导入着色器代码 ```javascript import OutlineFS from "../customShader/outline.fs"; import OutlineVS from "....
来源: Laya2.0_文档 发布时间: 20210715
...否是版本问题 MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:427) 2017-12-09 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20171209