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

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

51. 从unity里面导出的时候报错:MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. [ 89%]

...的时候报错:MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. unity版本是:2017.3.1f1 LayaAir3D工具版本是:1.7.16 beta 只是导出场景跟模型 附上导出参数设置以及报错详细信息,求解答   附件 : --> 2018-03-03 添加评论 免费...

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

52. Laya3.0 图片拼合缩放会导致两张图片之间有一条横线[已解决] [ 89%]

...  Laya.loader.load("http://103.219.177.59:63344/%2 ... ot%3B, Laya.Loader.TEXTURE2D).then((texture: Laya.Texture2D) => {             //在U方向上使用WARPMODE_CLAMP             texture.wrapModeU = Laya.WrapMode.Clamp;             //在V方向使用WARPMODE_CLAMP        ...

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

53. texture2d的getPixels()返回结构Uint8Array|Float32Array 如何转换为Float32Array格式 [ 89%]

texture2d的getPixels()返回结构Uint8Array|Float32Array 如何转换为Float32Array格式 2020-01-07 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

54. 射线检测-选取物体 [ 88%]

...var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var boxCollider = plane.addComponent(Laya.BoxCollider); boxCollider.setFr...

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

55. laya.d3.resource.models.SkyDome [ 88%]

...ronmentSpecular : BaseTexture 获取环境高光贴图。 Sky  texture : Texture2D 获取天空立方体纹理。 SkyDomePublic Methods  MethodDefined By  SkyDome() 创建一个 SkyBox 实例。 SkyDome  _render(state:RenderState):void[override] SkyDome  loadEnvInfo(envInfo:String):voidSkyD...

来源: laya_api 发布时间: 20170929

56. 自定义shader-边缘光照shader [ 87%]

...omMaterial1 = new CustomMaterial(); customMaterial1.setDiffuseTexture(Laya.Texture2D.load("../../res/threeDimen/skinModel/dude/Assets/dude/head.png")); customMaterial1.setMarginalColor(new Laya.Vector3(1, 0.7, 0)); var customMaterial2 = new CustomMaterial(); customMaterial2.setDiffuseTexture(Laya.Te...

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

57. Laya2.0 的3d截图 [ 87%]

...     let h: number = gl.drawingBufferHeight;         let texture2d: Laya.Texture2D = new Laya.Texture2D(w,h,Laya.TextureFormat.R8G8B8A8,false,false);         texture2d.setPixels(pixels);         let tex: Laya.Texture = new Laya.Texture(texture2d);     ...

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

58. PBRStandardMaterial材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 87%]

...tandardMaterialDemo))。 ```typescript setTexture(){ //反射贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function (texture) { this.mat.albedoTexture = texture; })); //法线贴图 L...

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

59. [LayaAir2] 在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 87%]

...ideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture; image.wid...

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

60. PBRStandardMaterial材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 87%]

...:PBRStandardMaterial = new Laya.PBRStandardMaterial(); //反射贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function(texture) { mat.albedoTexture = texture; })); //法线贴图 Laya.Te...

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