大约有 417 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0071 秒)
Laya_社区(237) Laya3.0_api(91) Laya2.0_文档(46) Laya_示例(22) Laya2.0_api(10) laya_api(7) Laya3.0_文档(4)
...number, canvasHeight: number, offsetX: number, offsetY: number, rt?: RenderTexture2D | null): Texture | RenderTexture2D Inherited from Text.drawToTexture Defined in laya/display/Sprite.ts:1259 绘制到一个Texture对象 Parameters canvasWidth: number canvasHeight: number offsetX: number offsetY: n...
来源: Laya3.0_api 发布时间: 20231115
...Parameters value: number Returns void defaultTexture get defaultTexture(): Texture2D Overrides BaseTexture.defaultTexture Defined in laya/media/VideoTexture.ts:221 Returns Texture2D destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/Resource.ts:138 是否...
来源: Laya3.0_api 发布时间: 20231115
...ters value: number Returns void anisotropyTexture get anisotropyTexture(): Texture2D set anisotropyTexture(value: Texture2D): void Defined in laya/d3/core/material/PBRMaterial.ts:532 anisotropy 强度贴图 Returns Texture2D Defined in laya/d3/core/material/PBRMaterial.ts:536 anisotropy 强度贴图...
来源: Laya3.0_api 发布时间: 20231115
...ters value: number Returns void anisotropyTexture get anisotropyTexture(): Texture2D set anisotropyTexture(value: Texture2D): void Inherited from PBRMaterial.anisotropyTexture Defined in laya/d3/core/material/PBRMaterial.ts:532 anisotropy 强度贴图 Returns Texture2D Inherited from PBRMaterial.ani...
来源: Laya3.0_api 发布时间: 20231115
...th.Vector4; import laya.d3.resource.RenderTexture; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.BaseMesh; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.resource.Texture; import laya.ui.B...
来源: Laya_示例 发布时间: 20241118
... fa = clamp(fa, 0.0, 1.0);\ vec4 t_color = texture2D(texture, v_texcoord); \ gl_FragColor = t_color.rgba * v_color.rgba * vec4(1,1,1,fa); \ }\ "; /* var ps: string = " \ ...
来源: Laya_社区 发布时间: 20170606
...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_示例 发布时间: 20241118
...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