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

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

31. 自定义2D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...求也是存在的。 目前,LayaAir可以实现自定义2D纹理渲染(Texture2D)和基础图元渲染(Primitive)。 本篇文档属于进阶性文档,在阅读前需要具备Shader的基础知识,可以参考3D着色器文档中的一些概念介绍。 二、结构与应用 2.1 着色器文...

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

32. laya.html.dom.HTMLDivElement_API3.0 [ 42%]

...otation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender destr...

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

33. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 39%]

...过图片数据计算得到AStart网格 */ private createGridFromAStarMap(texture): any { var textureWidth = texture.width; var textureHeight = texture.height; var pixelsInfo = texture.getPixels(); var aStarArr = []; var index = 0; for (var w = 0; w < textureWidth; w++) { var colaStarArr = aStarA...

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

34. 自定义3D Shader · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

...form变量。 3.1 Uniform常见变量类型 Uniform变量的常见类型:Texture2D,Color,Vector2,Vector3,Vector4,Bool,Float,Matrix4x4,TextureCube Texture2D用于2D纹理采样的图片类型,图片本地支持格式:JPG,PNG Color 颜色类型,为四个Float类型组成的...

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

35. 纹理资源 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

...纹理资源的后缀类型2、纹理资源的通用属性2.1 纹理类型 textureType2.2 环绕模式 wrapMode2.3 过滤模式 filterMode2.4 纹理翻转 flip2.5 纹理旋转 rotate2.6 非2次幂缩放 npot2.7 可读写 readWrite2.8 纹理格式 format3、精灵纹理的专有属性3.1 九宫格 si...

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

36. laya.ui.Image_API3.0 [ 37%]

...scaleY scene scrollRect sizeGrid skewX skewY skin source stage staticCache texture timer toolTip top transform url useSourceSize viewport visible width x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubble...

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

37. Unity资源导出插件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 34%]

...材质类型。 分类 材质 Build in 管线 Standard 材质 Ulit Color/Texture/Cut Out/ Transparent 材质 URP 管线 URP Lit材质 URP Ulit材质 天空盒 Procedural 程序化天空盒 6 Sideed Panoramic 全景图 旧版着色器(只做兼容考虑, 不建议) Diffuse Fast Diffuse Diffuse De...

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

38. 插件开发说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 29%]

...ImageAssetImporter): void | Promise<void> { if (assetImporter.config.textureType != 2) { assetImporter.config.platformDefault = { format: 10 }; } } } (1)可以使用assetImporter.isNew区分是否是新增加的资源; (2)增加或者修改IAssetProcessor后,资源库没有自动为现有...

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