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

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

191. laya.d3.core.material.SkyPanoramicMaterial_API3.0 [ 40%]

...eters value: boolean Returns void panoramicTexture get panoramicTexture(): Texture2D set panoramicTexture(value: Texture2D): void Defined in laya/d3/core/material/SkyPanoramicMaterial.ts:67 全景天空纹理。 Returns Texture2D Defined in laya/d3/core/material/SkyPanoramicMaterial.ts:71 全景天...

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

192. [BUG]刚体约束问题,移动后约束混乱! [ 39%]

...0);     var planeMat = new Laya.BlinnPhongMaterial();     Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function (tex) {       planeMat.albedoTexture = tex;     }));     //设置纹理平铺和偏移     var tilingOffset = pl...

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

193. laya.d3.core.material.PBRSpecularMaterial_API3.0 [ 38%]

...arameters value: boolean Returns void tangentTexture get tangentTexture(): Texture2D set tangentTexture(value: Texture2D): void Inherited from PBRMaterial.tangentTexture Defined in laya/d3/core/material/PBRMaterial.ts:390 Returns Texture2D Inherited from PBRMaterial.tangentTexture Defined in laya/d3...

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

194. laya.resource.Texture_API3.0 [ 38%]

... Texture 对象。 Parameters source: Texture | BaseTexture 绘图资源 Texture2D 或者 Texture对象。 x: number 起始绝对坐标 x 。 y: number 起始绝对坐标 y 。 width: number 宽绝对值。 height: number 高绝对值。 Default value offsetX: number = 0 X 轴偏移量(可选)...

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

195. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 37%]

...createFromMeshAndHeightMap createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name?: string): MeshTerrainSprite3D Defined in laya/d3/core/MeshTerrainSprite3D.ts:39 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 Parameters...

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

196. laya.d3.core.material.PBRMaterial_API3.0 [ 36%]

...ters value: number Returns void anisotropyTexture get anisotropyTexture(): Texture2D set anisotropyTexture(value: Texture2D): void Defined in laya/d3/core/material/PBRMaterial.ts:532 anisotropy 强度贴图 Returns Texture2D Defined in laya/d3/core/material/PBRMaterial.ts:536 anisotropy 强度贴图...

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

197. 2D拖尾渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...Laya.TrailTextureMode.Stretch; //设置纹理 this._trail2D.texture = Laya.Texture2D.whiteTexture; // Laya.loader.load("此处填写纹理的路径").then((res) => { // this._trail2D.texture = res; // }); //设置线段颜色 this._trail2D.color = new Laya.Color(1, 1, 1, 1); } //控制物体向...

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

198. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

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

199. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 34%]

...ters value: number Returns void anisotropyTexture get anisotropyTexture(): Texture2D set anisotropyTexture(value: Texture2D): void Inherited from PBRMaterial.anisotropyTexture Defined in laya/d3/core/material/PBRMaterial.ts:532 anisotropy 强度贴图 Returns Texture2D Inherited from PBRMaterial.ani...

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

200. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 31%]

...aterial = mat; })); ``` ##### 纹理Texture加载 单个纹理加载使用`Texture2D.load()`方法,示例代码如下: ```typescript //加载纹理,省略若干代码,仅为加载示例 Laya.Texture2D.load("xx/xx.png", Laya.Handler.create(null, function(Texture) { //使用纹理 var earth1 = sce...

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