大约有 451 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0050 秒)
Laya_社区(254) Laya3.0_api(91) Laya2.0_文档(60) Laya_示例(22) Laya2.0_api(10) laya_api(7) Laya3.0_文档(7)
...createFromMeshAndHeightMap createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name?: string): MeshTerrainSprite3D Defined in laya/d3/core/MeshTerrainSprite3D.ts:39 从网格创建一个TerrainMeshSprite3D实例、图片读取高度图属性。 Parameters...
来源: Laya3.0_api 发布时间: 20231102
...laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.models.BoxMesh; import laya.d3.resource.models.CapsuleMesh; import laya.d3.resource.models.CylinderMesh; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.PlaneMesh; import...
来源: Laya_示例 发布时间: 20241124
...material.albedo = new Vector4(1.3, 1.3, 1.3, 1); material.diffuseTexture = Texture2D.load("res/threeDimen/layabox.png"); plane.meshRender.material = material; //生成坐标中心,其实是球体 var sphere:MeshSprite3D = scene.addChild(new MeshSprite3D(new SphereMesh(0.05,100,100))) as MeshSprite...
来源: Laya_社区 发布时间: 20161223
...e.gammaCorrection Defined in laya/resource/BaseTexture.ts:110 如果是1.0 texture2D直接采样就是linear Returns number gammaSpace get gammaSpace(): boolean Inherited from BaseTexture.gammaSpace Defined in laya/resource/BaseTexture.ts:133 Returns boolean gpuMemory get gpuMemory(): number Inherit...
来源: Laya3.0_api 发布时间: 20231102
... 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
...15:58 @我盼乙卯:先按照文档来吧,material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; Laya.URL.basePath = "https://XXXX.com";//请把XXXX换成自己的真实网址; //在此之下,再使用load加载资源,都会...
来源: Laya_社区 发布时间: 20180531
...e.gammaCorrection Defined in laya/resource/BaseTexture.ts:110 如果是1.0 texture2D直接采样就是linear Returns number gammaSpace get gammaSpace(): boolean Inherited from BaseTexture.gammaSpace Defined in laya/resource/BaseTexture.ts:133 Returns boolean gpuMemory get gpuMemory(): number Inherit...
来源: Laya3.0_api 发布时间: 20231102
...on Defined in laya/resource/BaseTexture.ts:144 gamma矫正值 如果是1.0 texture2D直接采样就是linear Returns number gammaSpace get gammaSpace(): boolean Inherited from BaseTexture.gammaSpace Defined in laya/resource/BaseTexture.ts:173 Returns boolean gpuMemory get gpuMemory(): number Inherit...
来源: 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
...e front left right up down Static getTexturePixel getTexturePixel(texture: Texture2D): ArrayBufferView Defined in laya/d3/core/Camera.ts:150 get PixelTexture Parameters texture: Texture2D Returns ArrayBufferView Static instantiate instantiate(original: Sprite3D, parent?: Node, worldPositionStays?: b...
来源: Laya3.0_api 发布时间: 20231115