기술 자료

Unity Engine

Unity Engine

ResetDefaults(Terrain, int)

Initializes the texture detail wizard's defaults.
읽는 시간 1분최근 업데이트: 한 달 전

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.