Struct DistanceHit
Syntax
public struct DistanceHit : IQueryResult
Properties
ColliderKey
Declaration
public ColliderKey ColliderKey { get; }
Property Value
Implements
Direction
Declaration
public float2 Direction { get; }
Property Value
Distance
Declaration
public float Distance { get; }
Property Value
Entity
Declaration
public Entity Entity { get; }
Property Value
Implements
Fraction
Declaration
public float Fraction { get; }
Property Value
Implements
IsValid
Declaration
public bool IsValid { get; }
Property Value
Implements
PhysicsBodyIndex
Declaration
public int PhysicsBodyIndex { get; }
Property Value
Implements
PointA
Declaration
public float2 PointA { get; }
Property Value
PointB
Declaration
public float2 PointB { get; }
Property Value