기술 자료

Unity Engine

Unity Engine

holeEdgePadding

Controls how far away detail objects are from the edge of the hole area.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public float holeEdgePadding { get; set; }

Remarks

Specify a non-negative value, which is a scale of the detail mesh's width in world space. (DetailRenderMode.GrassBillboard details have a width of 1.) Unity multiplies this value by the detail mesh's width, and uses the result to determine the radius of a circular area around detail objects, which it then applies for testing against holes.