大约有 2,258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1808) Laya3.0_api(129) laya_api(84) Laya2.0_api(82) Laya2.0_文档(76) Laya_示例(36) Laya3.0_文档(28) Laya2.0_示例(15)
...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
...tor4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0...
来源: Laya2.0_文档 发布时间: 20210715
...tor4`漫反射颜色。 `albedoIntensity:Number` 漫反射强度。 `albedoTexture:BaseTexture` 漫反射贴图。 `enableLighting:Boolean` 是否启用光照。 `normalTexture:BaseTexture` 法线贴图。 `renderMode:int` [write-only] 设置渲染模式。 `shininess:Number` 高光强度,范围为0...
来源: Laya2.0_文档 发布时间: 20210714
请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 请问graphics.drawTexture(texture)中如何增加一个matrix,只显示图中的一个圆形区域 我可以另外建一个圆形比如 var mapMask = new Laya.Sprite(); mapMask.size(100,100); ma...
来源: Laya_社区 发布时间: 20181125
...的时候报错:MissingMethodException: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. unity版本是:2017.3.1f1 LayaAir3D工具版本是:1.7.16 beta 只是导出场景跟模型 附上导出参数设置以及报错详细信息,求解答 附件 : --> 2018-03-03 添加评论 免费...
来源: Laya_社区 发布时间: 20180303
...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
...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
...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
关于导出粒子特效问题 导出的时候报错了 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
... 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