大约有 307 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0061 秒)
...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
...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
...0); var planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function (tex) { planeMat.albedoTexture = tex; })); //设置纹理平铺和偏移 var tilingOffset = pl...
来源: Laya_社区 发布时间: 20210103
...arameters value: boolean Returns void tangentTexture get tangentTexture(): Texture2D set tangentTexture(value: Texture2D): void Inherited from PBRMaterial.tangentTexture Defined in laya/d3/core/material/PBRMaterial.ts:390 Returns Texture2D Inherited from PBRMaterial.tangentTexture Defined in laya/d3...
来源: Laya3.0_api 发布时间: 20231102
...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
...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
...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_示例 发布时间: 20241117
...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