大约有 208 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
... // 图片加载 var t = Laya.loader.getRes("res/island.png"); var tBall = Texture.create(t,866,190,548,305); var tTower = Texture.create(t,data.tower[towerLel].x,data.tower[towerLel].y,data.tower[towerLel].w,data.tower[towerLel].h); var tAeroboat = Texture.create(t,data.aeroboat[aeroboatLel].x , da...
来源: Laya_社区 发布时间: 20170720
...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
...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inhe...
来源: Laya3.0_api 发布时间: 20231115
...eMaterial depthWrite : Boolean是否深度写入。BaseMaterial diffuseTexture : BaseTexture 获取漫反射贴图。 GlitterMaterial dstBlend : int目标混合参数,在blend为BLEND_ENABLE_ALL时生效。BaseMaterial dstBlendAlpha : intAlpha目标混合参数,在blend为BLEND_ENABLE_SEPERATE...
来源: laya_api 发布时间: 20170929
...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
...cted All Inherited Externals Only exported Menu Globals "laya/resource/BaseTexture" BaseTexture Class BaseTexture BaseTexture 纹理的父类,抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Texture2D Video...
来源: Laya3.0_api 发布时间: 20231115
...eMaterial depthWrite : Boolean是否深度写入。BaseMaterial diffuseTexture : BaseTexture 获取漫反射贴图。 ParticleMaterial dstBlend : int目标混合参数,在blend为BLEND_ENABLE_ALL时生效。BaseMaterial dstBlendAlpha : intAlpha目标混合参数,在blend为BLEND_ENABLE_SEPERAT...
来源: laya_api 发布时间: 20170603
...eMaterial depthWrite : Boolean是否深度写入。BaseMaterial diffuseTexture : BaseTexture 获取漫反射贴图。 ShurikenParticleMaterial dstBlend : int目标混合参数,在blend为BLEND_ENABLE_ALL时生效。BaseMaterial dstBlendAlpha : intAlpha目标混合参数,在blend为BLEND_ENABLE...
来源: laya_api 发布时间: 20170929
...图属性。 MeshTerrainSprite3D createFromMeshAndHeightMap(mesh:Mesh, texture:Texture2D, minHeight:Number, maxHeight:Number, name:String = null):MeshTerrainSprite3D[static] 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:B...
来源: Laya2.0_api 发布时间: 20190513
...过图片数据计算得到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