文档

Unity Engine

Unity Engine

PhysicsQuery.SegmentDistanceResult

Segment distance result from segment distance queries.
阅读时间1 分钟最后更新于 1 个月前

Definition

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