大约有 301 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(113) Laya2.0_api(71) laya_api(69) Laya3.0_文档(37) Laya_社区(8) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...Color:* = null, lineWidth:Number = 1):void 绘制矩形。 Graphics drawTexture(tex:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1):Array 绘制纹理。 Graphics drawTextures(tex:Texture, pos:Array):void 批量绘制同样纹理。 ...
来源: laya_api 发布时间: 20170929
...hArr rate skinDataArray skinDic skinSlotDisplayDataArr srcBoneMatrixArr subTextureDic tfArr url uuid yReverseMatrix DEBUG interpolation Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _parse _removeReference _setCPUMemory _...
来源: Laya3.0_api 发布时间: 20231115
...1, 0, 0] }, u_AlbedoColor: { type: Color, default: [1, 1, 1, 1] }, u_AlbedoTexture: { type: Texture2D, options: { define: "ALBEDOTEXTURE" } }, u_NormalTexture: { type: Texture2D, options: { define: "NORMALTEXTURE" } }, u_NormalScale: { type: Float, default: 1.0, range: [0.0, 2.0] }, u_Metallic: { ty...
来源: Laya3.0_文档 发布时间: 20251010
...fect BloomEffect Index Constructors constructor Properties clamp color dirtTexture fastMode Accessors active anamorphicRatio diffusion dirtIntensity intensity softKnee threshold Methods effectInit getCameraDepthTextureModeFlag release Constructors constructor new BloomEffect(): BloomEffect Overrides...
来源: Laya3.0_api 发布时间: 20231102
...变色,会与拖尾的颜色混合叠加形成最终颜色 纹理模式(textureMode) 控制纹理应如何应用于拖尾。有平铺(Stretch)和拉伸(Tile)两种模式 纹理(texture) 应用于拖尾的纹理,具体效果受纹理模式(textureMode)的影响。 1.3属性讲解 下面我们对T...
来源: Laya3.0_文档 发布时间: 20251010
...y _setCreateURL _setGPUMemory clear destroy event getContext getMemSize getTexture hasListener isCreateFromURL off offAll offAllCaller on once release size toBase64 toBase64Async destroyUnusedResources Constructors constructor new HTMLCanvas(createCanvas?: boolean): HTMLCanvas Overrides Resource.__c...
来源: Laya3.0_api 发布时间: 20231115
...T ROTATION SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE TEXTURE TEXTURE_HDR_PARAMS TINTCOLOR Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc ...
来源: Laya3.0_api 发布时间: 20231115
...求也是存在的。 目前,LayaAir可以实现自定义2D纹理渲染(Texture2D)和基础图元渲染(Primitive)。 本篇文档属于进阶性文档,在阅读前需要具备Shader的基础知识,可以参考3D着色器文档中的一些概念介绍。 二、结构与应用 2.1 着色器文...
来源: Laya3.0_文档 发布时间: 20251010
...图属性。 MeshTerrainSprite3D createFromMeshAndHeightMap(mesh:Mesh, texture:Texture2D, minHeight:Number, maxHeight:Number, name:String = null):MeshTerrainSprite3D[static] 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:B...
来源: Laya2.0_api 发布时间: 20190513
...图属性。 MeshTerrainSprite3D createFromMeshAndHeightMap(mesh:Mesh, texture:Texture2D, minHeight:Number, maxHeight:Number, name:String = null):MeshTerrainSprite3D[static] 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:B...
来源: laya_api 发布时间: 20170929