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

大约有 114 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0038 秒)

81. ShaderPass介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 63%]

...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/three...

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

82. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 63%]

...色 */ public function get outlineColor() { return this._shaderValues.getVector(MultiplePassOutlineMaterial.OUTLINECOLOR); } public function set outlineColor(value) { this._shaderValues.setVector(MultiplePassOutlineMaterial.OUTLINECOLOR, value); } /** * 获取轮廓宽度。 * @return 轮廓宽度,...

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

83. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 63%]

...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/three...

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

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

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

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

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

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

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

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

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

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

87. 3D如何计算反射线的向量? [ 61%]

...档有接口可以把向量通过矩阵转换为另外一个向量, Laya.Vector3.transformV3ToV3(direction,matrix,outVector) 目前的问题就是怎么通过法线向量normal获得它对应的矩阵?​ 最终的结果就是求得反射线的向量。 2020-01-13 添加评论 已悬赏10元 -->...

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

88. laya.d3.core.scene.Scene [ 60%]

...示不透明。更改alpha值会影响drawcall。Sprite  ambientColor : Vector3 获取环境光颜色。 Scene autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制...

来源: laya_api 发布时间: 20170929

89. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 56%]

...组建实例。 Returns Component 组件。 addLine addLine(startPosition: Vector3, endPosition: Vector3, startColor: Color, endColor: Color): void Defined in laya/d3/core/pixelLine/PixelLineSprite3D.ts:69 增加一条线。 Parameters startPosition: Vector3 初始点位置 endPosition: Vector3 结...

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

90. laya.d3.core.scene.BaseScene [ 56%]

... Array滤镜集合。可以设置多个滤镜组合。Sprite  fogColor : Vector3 获取雾化颜色。 BaseScene  fogRange : Number 获取雾化范围。 BaseScene  fogStart : Number 获取雾化起始位置。 BaseScene globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放...

来源: laya_api 发布时间: 20170422