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

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

91. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 72%]

...模型材质。 #### 主要属性和方法详解: > 属性 `albedoColor:Vector4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` ...

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

92. Unlit材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 72%]

...示原贴图的样式。 #### 主要属性和方法 > 属性 `albedoColor:Vector4` 反照率颜色。 `albedoIntensity:Number` 反照率强度。 `albedoTexture:BaseTexture` 反照率贴图。 `enableVertexColor:Boolean` 是否支持顶点色。 `renderMode:int` [write-only] 设置渲染模式。 `t...

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

93. BlinnPhong材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 72%]

...模型材质。 #### 主要属性和方法详解: > 属性 `albedoColor:Vector4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` ...

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

94. Effect材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 72%]

...种材质常用特效制作。 #### 主要属性与方法 > 属性 `color:Vector4` 颜色。 `renderMode:int` [write-only] 设置渲染模式。 `texture:BaseTexture` 贴图。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和使用Effect材质 下面代码来自官方示例([demo地址...

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

95. CommandBuffer · LayaAir3.3 · 引擎文档 · LAYABOX [ 72%]

...= viewPort.height/downSampleFactor; //设置模糊材质参数 var texSize:Vector4 = new Vector4(1.0/viewPort.width,1.0/viewPort.height,viewPort.width,downSampleheigh); shaderValue.setNumber(BlurEffect.SHADERVALUE_DOWNSAMPLEVALUE,1); shaderValue.setVector(BlurEffect.SHADERVALUE_TEXELSIZE,texSize); /...

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

96. 高级应用-闪光 [ 72%]

...oad("../../res/threeDimen/layabox.png"); glitterMaterial.albedo = new Laya.Vector4(1.3, 1.3, 1.3, 1); glitterTemplet.lifeTime = 1.3; glitterTemplet.minSegmentDistance = 0.1; glitterTemplet.minInterpDistance = 0.6; glitterTemplet.maxSlerpCount = 128; glitterTemplet.maxSegments = 600; var pos1 = new L...

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

97. laya.d3.renderobjs.nativeobj.NativeRenderContext3DOBJ_API3.0 [ 72%]

...Parameters sceneShaderData: ShaderData Returns void scissor get scissor(): Vector4 set scissor(scissor: Vector4): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ.ts:72 Returns Vector4 Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderContext3DOBJ.ts:67 Parameters scissor: Vec...

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

98. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 72%]

...模型材质。 #### 主要属性和方法详解: > 属性 `albedoColor:Vector4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` ...

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

99. CommandBuffer使用文档(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 71%]

...= viewPort.height/downSampleFactor; //设置模糊材质参数 var texSize:Vector4 = new Vector4(1.0/viewPort.width,1.0/viewPort.height,viewPort.width,downSampleheigh); shaderValue.setNumber(BlurEffect.SHADERVALUE_DOWNSAMPLEVALUE,1); shaderValue.setVector(BlurEffect.SHADERVALUE_TEXELSIZE,texSize); /...

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

100. 物理碰撞脚本和触发器脚本(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 71%]

....meshRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进入绑定物体碰撞器后逐帧触发(子弹在物品内时) * 注:如相对移动速度过快,可能直接越过 */ public onTriggerStay(other:Laya.PhysicsC...

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