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

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

41. RenderTexture的像素读取(JavaScript-3D基础(JS)-LayaAir3D之纹理) [ 75%]

# RenderTexture的像素读取 ###### *version :2.1.0 Update:2019-5-25* ​ 在之前的RenderTexture的使用还是实时的渲染 “摄像机”。但是在很多的时候我需要像相机一样 “拍”一张照片,这样我们就可以使用RenderTexture的 `getData` 像素读取接口来...

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

42. RenderTexture的像素读取(TypeScript-3D基础(TS)-LayaAir3D之纹理) [ 74%]

# RenderTexture的像素读取 ###### *version :2.1.0 Update:2019-5-25* ​ 在之前的RenderTexture的使用还是实时的渲染 “摄像机”。但是在很多的时候我需要像相机一样 “拍”一张照片,这样我们就可以使用RenderTexture的 `getData` 像素读取接口来...

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

43. 引擎 TiledMap 居然不支持图块翻转 [ 74%]

...tor() {             super(...arguments);             this._tileTextureSet = null;             this._aniName = null;         }         setTileTextureSet (aniName, tileTextureSet) {             this._aniName = aniName;             this._tileTextureSet = tileTextur...

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

44. 创建材质(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 74%]

... false); //创建材质 var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, function(tex){ //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ``` ![](img...

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

45. laya.spine.SpineTexture_API3.0 [ 74%]

...tected All Inherited Externals Only exported Menu Globals "laya/spine/SpineTexture" SpineTexture Class SpineTexture Hierarchy SpineTexture Index Constructors constructor Properties realTexture Methods convertWrapMode getImage setFilters setWraps Constructors constructor new SpineTexture(tex: Texture...

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

46. 创建材质(JavaScript-3D基础(JS)-LayaAir3D之Material材质) [ 74%]

... false); //创建材质 var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex){ //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ``` ![](img...

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

47. RenderTexture的像素读取(ActionScript-3D基础(AS3)-LayaAir3D之纹理) [ 74%]

# RenderTexture的像素读取 ###### *version :2.1.0 Update:2019-5-25* ​ 在之前的RenderTexture的使用还是实时的渲染 “摄像机”。但是在很多的时候我需要像相机一样 “拍”一张照片,这样我们就可以使用RenderTexture的 `getData` 像素读取接口来...

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

48. 分享水波一个shader [ 73%]

...rt Shader3D = Laya.Shader3D; import SubShader = Laya.SubShader; import BaseTexture = Laya.BaseTexture; export default class Test1Material extends BaseMaterial { public readonly MAIN_TEX:number = Shader3D.propertyNameToID("u_MainTex"); public readonly NOISE_TEX:number = Shader3D.propertyNameToID("u_N...

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

49. skydome可以替换贴图吗? [ 73%]

...al: SkyPanoramicMaterial = new SkyPanoramicMaterial();         Texture2D.load("res/jfb.jpg", Handler.create(null, function (texTexture2D) {             material.panoramicTexture = tex;             skymat.material = material;         })); 2020-03...

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

50. 创建材质(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 73%]

...//创建材质 var material:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { //纹理加载完成后赋值 material.albedoTexture = tex; })); //将材质赋值给自定义模型 box.meshRenderer.material = material; ...

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