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

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

231. 从大图里边截取一部分显示,为啥显示不出来? [ 88%]

...ge(); imgBig.skin="big.jpg";  let imgCut:Laya.Image=new Laya.Image(); let texture:Laya.Texture=Laya.Texture.create(imgBig,0,0,100,100); imgCut.texture=texture; Laya.stage.addChild(imgCut); 2019-04-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

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

...tor4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0...

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

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

...tor4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0...

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

234. 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 [ 88%]

请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 我可以另外建一个圆形比如 var mapMask = new Laya.Sprite(); mapMask.size(100,100); ma...

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

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

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

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

236. laya.resource.Texture2DArray_API3.0 [ 88%]

...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel ...

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

237. laya.display.cmd.DrawImageCmd_API3.0 [ 88%]

...ImageCmd 绘制图片 Hierarchy DrawImageCmd Index Properties color height texture width x y ID Methods recover Properties color color: number = 4294967295 Defined in laya/display/cmd/DrawImageCmd.ts:34 (可选)绘图颜色 height height: number Defined in laya/display/cmd/DrawImageCmd.ts:31 (...

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

238. laya.resource.HTMLCanvas [ 88%]

...TMLCanvas  _source : *HTMLCanvas  source : *[read-only] HTMLCanvas  _texture : TextureHTMLCanvasPublic Methods  MethodDefined By  HTMLCanvas(createCanvas:Boolean = false) 根据指定的类型,创建一个 HTMLCanvas 实例。 HTMLCanvas  _getSource():*[override] HTMLCanvas  clear():v...

来源: Laya2.0_api 发布时间: 20190513

239. 关于导出粒子特效问题 [ 88%]

关于导出粒子特效问题 导出的时候报错了 Unsupported texture format - Texture2D::EncodeTo functions do not support compressed texture formats. UnityEngine.Texture2D:EncodeToPNG() LayaExport.DataManager:saveTextureFile(JSONObject, Texture2D, String, String, String) LayaExport.DataMana...

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

240. [LayaAir3]3.3 beta3 ios 15pro偶尔材质会变黑 [ 88%]

...   u_AlbedoColorScale: { type: Float, default: 1.0 },         u_AlbedoTexture: { type: Texture2D, options: { define: "ALBEDOTEXTURE" } },          // u_AlbedoTexture2: { type: Texture2D, options: { define: "ALBEDOTEXTURE2" } },         // u_AlbedoTexture2Offset: { type: Vector4, defaul...

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