GetSplatMaterialPropertyBlock(MaterialPropertyBlock)
Get the previously set splat material properties by copying to the dest MaterialPropertyBlock object.
Read time 1 minuteLast updated 6 hours ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public void GetSplatMaterialPropertyBlock(MaterialPropertyBlock dest)
Parameters
The material property block to copy the current splat material properties into.
Remarks
Additional Resources: Terrain.SetSplatMaterialPropertyBlock, Renderer.GetPropertyBlock, MaterialPropertyBlock