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

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

51. 提交Sprite.DrawToCanvas的bug [ 67%]

...asWidth |=1;canvasHeight |=1;offsetX |=1;offsetY |=1; 执行之后会出现纹理大小错误,比如512*512的纹理,画出来变成了513*513,会让实际图片扩大一个像素,产生绘制错误 2018-07-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

52. laya.display.cmd.DrawImageCmd_API3.0 [ 66%]

...ure texture: Texture | null Defined in laya/display/cmd/DrawImageCmd.ts:15 纹理。 width width: number Defined in laya/display/cmd/DrawImageCmd.ts:27 (可选)宽度。 x x: number Defined in laya/display/cmd/DrawImageCmd.ts:19 (可选)X轴偏移量。 y y: number Defined in laya/display/cm...

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

53. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 66%]

...se Through为true,而后设置了node2的子节点0(GWidget的实例)纹理texture为new Laya.Texture。设置纹理之后,mouseThrough的设置就无效了,可以参考Laya.Sprite的mouseThrogh的注释,如下所示: /** * @en For non-UI component display object nodes (container objec...

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

54. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 66%]

texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 export class Texture2dTest { private sprite3D:Laya.Sprite3D; private readonly AllPng:string[] = ["pic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.s...

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

55. 加载3D模型会报错,求解答 [ 65%]

...赞同来自: 请使用最新版layaAir引擎,并转换资源中所有的纹理贴图为png或jpg即可。 LayaUnityPlugin有自动转换纹理功能,https://ask.layabox.com/question/4242   2017-08-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

56. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 65%]

...id Defined in laya/d3/core/particleShuriKen/ShurikenParticleMaterial.ts:69 纹理平铺和偏移。 Returns Vector4 Defined in laya/d3/core/particleShuriKen/ShurikenParticleMaterial.ts:73 纹理平铺和偏移。 Parameters value: Vector4 Returns void tilingOffsetW get tilingOffsetW(): number set ti...

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

57. 官方提供的关系链代码执行报错,是不是wx的sharedCanvas不是Laya的canvas导致的问题 [ 64%]

...这是报错地方的代码 /** *<code>Texture</code> 是一个纹理处理类。 */ //class laya.resource.Texture extends laya.events.EventDispatcher var Texture=(function(_super){ function Texture(bitmap,uv){ /**图片或者canvas 。*/ //this.bitmap=null; /**UV信息。*/ //this.uv=nu...

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

58. laya.display.cmd.DrawTextureCmd_API3.0 [ 64%]

...e texture: Texture | null Defined in laya/display/cmd/DrawTextureCmd.ts:18 纹理。 uv uv: number[] | null = null Defined in laya/display/cmd/DrawTextureCmd.ts:52 width width: number Defined in laya/display/cmd/DrawTextureCmd.ts:30 (可选)宽度。 x x: number Defined in laya/display/cmd/DrawT...

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

59. 纹理资源 · LayaAir3.3 · 引擎文档 · LAYABOX [ 63%]

纹理资源 设置说明1、纹理资源基础1.1 纹理资源的类型1.2 纹理资源的设置1.3 普通纹理资源的后缀类型2、纹理资源的通用属性2.1 纹理类型 textureType2.2 环绕模式 wrapMode2.3 过滤模式 filterMode2.4 纹理翻转 flip2.5 纹理旋转 rotate2.6 非2...

来源: Laya3.0_文档 发布时间: 20251128

60. laya.display.cmd.DrawTrianglesCmd_API3.0 [ 63%]

...texture: Texture | null Defined in laya/display/cmd/DrawTrianglesCmd.ts:18 纹理。 uvs uvs: Float32Array Defined in laya/display/cmd/DrawTrianglesCmd.ts:34 UV数据。 vertices vertices: Float32Array Defined in laya/display/cmd/DrawTrianglesCmd.ts:30 顶点数组。 x x: number Defined in laya/dis...

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