大约有 203 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
... planeMat.albedoTexture = tex; })); //拉伸UV planeMat.tilingOffset = new Laya.Vector4(10, 10, 0, 0); //板的画面的渲染材质 plane.meshRenderer.material = planeMat; //创建球 this.addSphere(); }...
来源: Laya_社区 发布时间: 20191009
...GL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } } }else { this.displayIndex=-1; this.currDisplayData=null; this.currTexture=null; } } 这个函数里 if (this._replaceDic[index]) 的这个判断...
来源: Laya_社区 发布时间: 20180106
...------ | -------------------------------------------- | | `Ignore Vertices UV` | 忽略顶点UV(忽略模型的UV贴图) | | `Ignore Vertices Color` | 忽略顶点颜色(忽略模型的顶点颜色信息) | | `Ignore Vertices Normal` | 忽略顶点法线(忽略模型的法线信息) | | ...
来源: Laya2.0_文档 发布时间: 20210714
...drawTriangles(texture:Texture, x:Number, y:Number, vertices:Float32Array, uvs:Float32Array, indices:Uint16Array, matrix:Matrix = null, alpha:Number = 1, color:String = null, blendMode:String = null):DrawTrianglesCmd 绘制一组三角形 Graphics fillBorderText(text:String, x:Number, y:Number, font...
来源: Laya2.0_api 发布时间: 20190513
... SHADERDEFINE_TILINGOFFSET : int[static] StandardMaterial SHADERDEFINE_UVTRANSFORM : int[static] StandardMaterial specularColor : Vector4 设置高光颜色。 StandardMaterial specularTexture : BaseTexture 获取高光贴图。 StandardMaterial srcBlend : int源混合参数,在blend为BL...
来源: laya_api 发布时间: 20170929
...` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 所以在2D中,同一个图集中的多个不同 Texture 是共用的一个 Bitmap。这样的机制,就可能让开发者在内存管理时产生误解:"销毁了...
来源: Laya2.0_文档 发布时间: 20210715
...(Laya.Mesh2DRender); mesh2Drender.sharedMesh = this.generateRectVerticesAndUV(1000, 1000); mesh2Drender.texture = tex; mesh2Drender.lightReceive = true; } // 生成一个矩形 private generateRectVerticesAndUV(width: number, height: number): Laya.Mesh2D { const vertices = new Float32Array(4 * 5); c...
来源: Laya3.0_文档 发布时间: 20251010
...` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 所以在2D中,同一个图集中的多个不同 Texture 是共用的一个 Bitmap。这样的机制,就可能让开发者在内存管理时产生误解:"销毁了...
来源: Laya2.0_文档 发布时间: 20210715
...` 属性就是他所属的Texture2D ,Texture本身是记录了Texture2的uv属性,来实现图集中的单图片显示。 所以在2D中,同一个图集中的多个不同 Texture 是共用的一个 Bitmap。这样的机制,就可能让开发者在内存管理时产生误解:"销毁了...
来源: Laya2.0_文档 发布时间: 20210715
...面的所有渲染物体全部拿出,进行模糊,再将图片按屏幕uv采样到毛玻璃上面,便可以实现这样的效果 示例代码 createCommandBuffer(camera:Camera){ //当需要在渲染透明物体之前拿到摄像机渲染结果,所以调用下面的属性true camera.enableBui...
来源: Laya3.0_文档 发布时间: 20251010