Struct TPC_HitsCollector
Implements
ICollector<ColliderCastHit>
Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Assembly: DOTS-TPC.dll
Syntax
public struct TPC_HitsCollector : ICollector<ColliderCastHit>
Constructors
TPC_HitsCollector(ComponentLookup<TPC_IgnoreTag>, Entity, float3)
Declaration
public TPC_HitsCollector(ComponentLookup<TPC_IgnoreTag> ignoreTagLookup, Entity targetEntity, float3 raycastDirection)
Parameters
Type |
Name |
Description |
ComponentLookup<TPC_IgnoreTag> |
ignoreTagLookup |
|
Entity |
targetEntity |
|
float3 |
raycastDirection |
|
Fields
ClosestHit
Declaration
public ColliderCastHit ClosestHit
Field Value
Type |
Description |
ColliderCastHit |
|
Properties
EarlyOutOnFirstHit
Declaration
public readonly bool EarlyOutOnFirstHit { get; }
Property Value
MaxFraction
Declaration
public readonly float MaxFraction { get; }
Property Value
NumHits
Declaration
public int NumHits { readonly get; }
Property Value
Methods
AddHit(ColliderCastHit)
Declaration
public bool AddHit(ColliderCastHit hit)
Parameters
Type |
Name |
Description |
ColliderCastHit |
hit |
|
Returns
AddHit(RaycastHit)
Declaration
public bool AddHit(RaycastHit hit)
Parameters
Type |
Name |
Description |
RaycastHit |
hit |
|
Returns
Implements
Unity.Physics.ICollector<T>