Documentation

Unity Engine

Unity Engine

ResetDefaults(Terrain, int)

Initializes the mesh detail wizard's defaults.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public void ResetDefaults(Terrain terrain, int index)

Parameters

terrain

The Terrain object.

index

The detail's index.

Remarks

Call this method when adding or editing a mesh detail to initialize the detail mesh wizard using the settings of the selected detail.