Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResetDefaults(Terrain, int)

Initializes the texture detail wizard's defaults.
Read time 1 minuteLast updated 10 days 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 texture detail to initialize the detail texture wizard using the settings of the selected detail.