Documentation

Unity Engine

Download Unity

Unity Engine

SetSplatMaterialPropertyBlock(MaterialPropertyBlock)

Set the additional material properties when rendering the terrain heightmap using the splat material.
Read time 1 minuteLast updated 22 days ago

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