大约有 235 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...重的发热。 1.2 纹理格式种类 1.2.1 ASTC ASTC(Adaptive Scalable Texture Compression)是一种世界领先的新型纹理压缩格式。ASTC由ARM和AMD联合开发,2012年发布。是一种基于块的有损压缩算法。它的压缩分块从4x4到12x12最终可以压缩每个像素...
来源: Laya3.0_文档 发布时间: 20251010
...(在reources文件夹)拖入第一列中,将<设置>中的<Texture Region Size>x和y设置为32,单击图块,单击右键,选中<创建图块>,印象中其它属性并没有改变。随后参考教程瓦片地图层 · LayaAir3.3 · 引擎文档 · LAYABOX,在<...
来源: Laya_社区 发布时间: 20250118
...nction(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; Floor.__super.call(this); } //...
来源: Laya_社区 发布时间: 20160801
...RANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE defaultMaterial Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSr...
来源: Laya3.0_api 发布时间: 20231115
...ed All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _rende...
来源: Laya3.0_api 发布时间: 20231115
... Inherited Externals Only exported Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture NativeRenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isC...
来源: Laya3.0_api 发布时间: 20231115
...求也是存在的。 目前,LayaAir可以实现自定义2D纹理渲染(Texture2D)和基础图元渲染(Primitive)。 本篇文档属于进阶性文档,在阅读前需要具备Shader的基础知识,可以参考3D着色器文档中的一些概念介绍。 二、结构与应用 2.1 着色器文...
来源: Laya3.0_文档 发布时间: 20251010
...-7所示 (图1-7) 默认值:默认情况下,图片作为3D模型的Texture贴图文件,只能用在材质球上。 精灵纹理:图片作为2D的Sprite对象的图片纹理格式,通常在2D开发中使用。此属性在图片资源按照官方的命名规则去命名的时候自动为...
来源: Laya3.0_文档 发布时间: 20251010
...(包括:View朝向相机、Transform Z朝向自身局部坐标Z) | | Texture Mode(纹理模式) | 部分支持(包括:Stretch拉伸) | #### 4.8 地形的属性 关于地形,我们正在丰富,近期会完善。当前仅支持部分Terrain组件属性(支持地表,不支持植...
来源: Laya2.0_文档 发布时间: 20210714
...过图片数据计算得到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