文档

Unity Engine

Unity Engine

PhysicsQuery.TimeOfImpactResult

Time-of-impact result from time-of-impact query.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly struct PhysicsQuery.TimeOfImpactResult : IEquatable<PhysicsQuery.TimeOfImpactResult>

Properties

Property

Description

fractionThe sweep time of the collision interval in the range [0, maxFraction].
impactStateThe impact state.
normalThe surface normal at the point of contact.
pointThe point of contact.

Structs

Struct

Description

PhysicsQuery.TimeOfImpactResult.SortAscendingOrderAscending distance sort comparer.

Enums

Enum

Description

PhysicsQuery.TimeOfImpactResult.StateDescribes the time-of-impact state.