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

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

121. laya阴影问题 [ 48%]

...e; }else{ var unlitMat = new Laya.PBRStandardMaterial(); var texture: Laya.Texture2D = Laya.loader.getRes("Reference/cardtest.png"); unlitMat.albedoTexture = texture; cardOne.meshRenderer.material = unlitMat; cardOne.meshRenderer.castShadow = true; } }真心求教大佬,怎么才能让在底板下...

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

122. 后处理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

... 类型 说明 默认值 texture BaseTexture 光晕元素的纹理贴图 Texture2D.whiteTexture tint Color 光晕元素的颜色 Color(1,1,1,1) intensity number 光晕元素的强度 1.0 startPosition number 起始位置(0=光源中心,1=屏幕边缘) 0.0 angularOffset number 角度偏移(0-...

来源: Laya3.0_文档 发布时间: 20260105

123. 3D+2D场景截屏,在不同浏览器显示效果不一致 [ 47%]

...如图三),代码如下: public drawScreenshot(): void { if (!this.tempTexture2D) { this.tempTexture2D = new Laya.Texture2D(1280,720); } if (!this.tempTexture) { this.tempTexture = new Laya.Texture(this.tempTexture2D); } // Laya.timer.once(110, this, function(){ let cans = Laya.Browser.document....

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

124. 2D网格渲染器 · LayaAir3.4 · 引擎文档 · LAYABOX [ 47%]

...if #include "Sprite2DFrag.glsl"; void main() { clip(); vec4 textureColor = texture2D(u_baseRender2DTexture, v_texcoord); // 计算渐变因子 float gradientFactor = dot(v_texcoord, normalize(u_gradientDirection)) * 0.5 + 0.5; // 混合渐变颜色 vec4 gradientColor = mix(u_gradientStartColor, u_gr...

来源: Laya3.0_文档 发布时间: 20251120

125. laya.d3.core.render.BloomEffect_API3.0 [ 46%]

.../d3/core/render/BloomEffect.ts:83 泛光颜色。 dirtTexture dirtTexture: Texture2D = null Defined in laya/d3/core/render/BloomEffect.ts:87 镜头污渍纹路,用于为泛光特效增加污渍灰尘效果 fastMode fastMode: boolean = false Defined in laya/d3/core/render/BloomEffect.ts:85 是否开...

来源: Laya3.0_api 发布时间: 20231102

126. laya3d场景使用图集里的图片,显示的是整个图集资源图片 [ 44%]

...载图集图片返回的Texture对象,是需要自己裁切纹理转成Texture2D对象吗? Laya_Aaron • 2019-07-13 10:23 @邓中强:这个问题不是一句户两句话能解决的,也不是给个回答就能解决,这是一套知识体系。 Laya_Aaron • 2019-07-13 10:24 @Laya_Aaron:美...

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

127. laya.resource.BaseTexture [ 44%]

...ass BaseTextureInheritanceBaseTexture laya.resource.BitmapSubclasses RenderTexture2D, Texture2D BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By  anisoLevel : int 各向异性等级 BaseTexture  defaulteTexture : BaseTexture[read-only] 获取默...

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

128. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 44%]

...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_文档 发布时间: 20210715

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

...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

130. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 44%]

...分享 微博 QZONE 微信 zfree 赞同来自: 新版本untiy UnityEngine.Texture2D.EncodeToPNG 去掉了见截图 我这边还是导出的时候 报错 MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. 资源见unity.zip. 导出配置见截图 导出工具1.6.1,u...

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