• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 288 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)

181. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 53%]

...Mesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; var monkey = res.getChildByName("LayaMonkey"); //查找节点 var bonePoint:...

来源: Laya2.0_文档 发布时间: 20210714

182. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 52%]

...brTexture = Laya.Loader.getRes("res/threeDimen/texture/earth.png") as Laya.Texture2D; //为PBRStandard材质设置漫反射贴图 this.pbrStandardMaterial.albedoTexture = this.pbrTexture; //修改导出球的材质 this.sphere.meshRenderer.material = this.pbrStandardMaterial; ``` ![](img/5.png)(图5...

来源: Laya2.0_文档 发布时间: 20210715

183. MeshSprite3D如何用缓动变化 透明度alpha值? [ 52%]

...个测试方法 laya2.0如何用命令行执行清理并导出功能 请问Texture2D如何用base64字符串构建对象 UI编辑里面添加的rect怎么设置透明度? 如何用 FlashBuilder 或 LayaIDE 进行单步调试? 问题状态 最新活动: 2019-02-28 14:07 浏览: 1485 关注: 5 人...

来源: Laya_社区 发布时间: 20180327

184. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 52%]

...纹理 pbrTexture = Loader.getRes("res/threeDimen/texture/earth.png") as Texture2D; //为PBRStandard材质设置漫反射贴图 pbrStandardMaterial.albedoTexture = pbrTexture; //修改导出球的材质 sphere.meshRenderer.material = pbrStandardMaterial; ``` ![](img/5.png)(图5) ### 3.是否能接...

来源: Laya2.0_文档 发布时间: 20210715

185. 自定义shader-简单shader [ 52%]

...a.d3.math.Quaternion; import laya.d3.math.Vector3; import laya.d3.resource.Texture2D; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SphereMesh; import laya.d3.shader.Shader3D; import laya.d3.shader.ShaderCompile3D; import laya.display...

来源: Laya_示例 发布时间: 20251130

186. 一个简单的跑酷曲面shader分享 [ 51%]

...rm sampler2D u_MainTex; varying vec2 v_textcoord; void main() { vec4 col = texture2D(u_MainTex, v_textcoord); gl_FragColor = col; } `; var shader: Laya.Shader3D = Laya.Shader3D.add("CustomCurveShader"); var subShader: Laya.SubShader = new Laya.SubShader(attributeMap, uniformMap); shader.addSubShader...

来源: Laya_社区 发布时间: 20201009

187. laya.d3.core.scene.Scene [ 51%]

...显示区域,不包括子对象。 Sprite  getlightmaps():Vector.<Texture2D> 获取光照贴图。 Scene getMousePoint():Point获得相对于本对象上的鼠标坐标信息。Sprite  getRenderQueue(index:int):RenderQueue 获得某个渲染队列。 Scene  getScriptByIndex(index:int)...

来源: laya_api 发布时间: 20170929

188. 高级应用-渲染纹理 [ 49%]

...th.Vector4; import laya.d3.resource.RenderTexture; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BaseMesh; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.ui.B...

来源: Laya_示例 发布时间: 20251130

189. laya.d3.core.scene.Scene3D [ 48%]

...显示区域,不包括子对象。 Sprite  getlightmaps():Vector.<Texture2D> 获取光照贴图浅拷贝列表。 Scene3D getMousePoint():Point获得相对于本对象上的鼠标坐标信息。Sprite getRepaint():intSprite getSelfBounds():Rectangle 获取本对象在自己坐标系的...

来源: Laya2.0_api 发布时间: 20190513

190. 为什么说没有​ playByFrame方法 [ 48%]

...er的方式能不能加载ani文件? 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 LayaAir 2D有没...

来源: Laya_社区 发布时间: 20170926