大约有 100 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0043 秒)
...。 MeshTerrainSprite3D createFromMeshAndHeightMap(mesh:Mesh, texture:Texture2D, minHeight:Number, maxHeight:Number, name:String = null):MeshTerrainSprite3D[static] 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 MeshTerrainSprite3D destroy(destroyChild:Boolean = ...
来源: laya_api 发布时间: 20170929
... Texture 对象。 Parameters source: Texture | BaseTexture 绘图资源 Texture2D 或者 Texture对象。 x: number 起始绝对坐标 x 。 y: number 起始绝对坐标 y 。 width: number 宽绝对值。 height: number 高绝对值。 Default value offsetX: number = 0 X 轴偏移量(可选)...
来源: Laya3.0_api 发布时间: 20231115
...抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture TextureCube Texture2DArray Texture2D VideoTexture Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compare...
来源: Laya3.0_api 发布时间: 20231115
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel ...
来源: Laya3.0_api 发布时间: 20231115
...Laya.TrailTextureMode.Stretch; //设置纹理 this._trail2D.texture = Laya.Texture2D.whiteTexture; // Laya.loader.load("此处填写纹理的路径").then((res) => { // this._trail2D.texture = res; // }); //设置线段颜色 this._trail2D.color = new Laya.Color(1, 1, 1, 1); } //控制物体向...
来源: Laya3.0_文档 发布时间: 20250310
...eters value: boolean Returns void panoramicTexture get panoramicTexture(): Texture2D set panoramicTexture(value: Texture2D): void Defined in laya/d3/core/material/SkyPanoramicMaterial.ts:67 全景天空纹理。 Returns Texture2D Defined in laya/d3/core/material/SkyPanoramicMaterial.ts:71 全景天...
来源: Laya3.0_api 发布时间: 20231115
...显示区域,不包括子对象。 Sprite getlightmaps():Vector.<Texture2D> 获取光照贴图浅拷贝列表。 Scene3D getMousePoint():Point获得相对于本对象上的鼠标坐标信息。Sprite getRepaint():intSprite getSelfBounds():Rectangle 获取本对象在自己坐标系的...
来源: Laya2.0_api 发布时间: 20190513
...ass BaseTextureInheritanceBaseTexture laya.resource.BitmapSubclasses RenderTexture2D, Texture2D BaseTexture 纹理的父类,抽象类,不允许实例。 Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture defaulteTexture : BaseTexture[read-only] 获取默...
来源: Laya2.0_api 发布时间: 20190513
...v_Normal; varying vec2 uv; varying vec4 worldPos; void main() { vec4 col = texture2D(u_MainTex, uv); //gl_FragColor = vec4(worldPos.xyz, 1.0); float d = distance(worldPos.xyz, vec3(.0, .0, .0)) * 0.15; col.xyz *= d; col.xyz *= u_MainCol; col.a = 0.5; gl_FragColor = col; }`; var customShader:Laya.Sha...
来源: Laya_社区 发布时间: 20190814
...显示区域,不包括子对象。 Sprite getlightmaps():Vector.<Texture2D> 获取光照贴图。 Scene getMousePoint():Point获得相对于本对象上的鼠标坐标信息。Sprite getRenderQueue(index:int):RenderQueue 获得某个渲染队列。 Scene getScriptByIndex(index:int)...
来源: laya_api 发布时间: 20170929