SetSplatMaterialPropertyBlock(MaterialPropertyBlock)
Set the additional material properties when rendering the terrain heightmap using the splat material.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public void SetSplatMaterialPropertyBlock(MaterialPropertyBlock properties)
Parameters
The material property block that contains the custom properties to apply.
Remarks
Additional Resources: Terrain.GetSplatMaterialPropertyBlock, Renderer.SetPropertyBlock, MaterialPropertyBlock