ドキュメント

Unity Engine

Unity Engine

PhysicsQuery.SegmentDistanceResult

Segment distance result from segment distance queries.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Struct
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly struct PhysicsQuery.SegmentDistanceResult

Properties

Property

Description

closest1The closest point on the first segment
closest2The closest point on the second segment
distanceThe distance between the closest points
fraction1The barycentric coordinate on the first segment
fraction2The barycentric coordinate on the second segment

Structs

Struct

Description

PhysicsQuery.SegmentDistanceResult.SortAscendingOrderAscending distance sort comparer.