기술 자료

Unity Engine

Download Unity

Unity Engine

offsetDistance

Vertices are offset by this distance when compositing multiple physic shapes. Any vertices between shapes within this distance are combined.
읽는 시간 1분최근 업데이트: 2달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public float offsetDistance { get; set; }

Remarks

Do not set the distance offset to higher than 1% of the Sprite's length, as this may result in a loss in detail when too many vertices are combined together.