• Manual
  • API Summary
  • About
Show / Hide Table of Contents
  • DOTS_TPC
    • DotsHelper
    • FollowMode
    • FreeLookMode
    • FreeLookMouseHideMode
    • MouseCursorHelper
    • StationaryModeType
    • TargetablesComparer
    • TargetableWithDistance
    • TPC_AllHitsCollector
    • TPC_CameraControllerJob
    • TPC_CameraControllerJob.DistanceComparer
    • TPC_CameraTarget
    • TPC_ControllerOptions
    • TPC_ControllerState
    • TPC_DebugOptions
    • TPC_FadeMaterial
    • TPC_FadeSystem
    • TPC_FadeSystem.FadeJob
    • TPC_FadeSystem.FadeJob.InternalCompiler
    • TPC_FadeSystem.FadeJob.InternalCompilerQueryAndHandleData
    • TPC_FadeSystem.FadeJob.InternalCompilerQueryAndHandleData.TypeHandle
    • TPC_FollowJob
    • TPC_FollowOptions
    • TPC_FollowState
    • TPC_FreeLookJob
    • TPC_FreeLookOptions
    • TPC_GatherInputsSystem
    • TPC_HitsCollector
    • TPC_IgnoreTag
    • TPC_Input
    • TPC_Input_FreeLook
    • TPC_Input_LockOn
    • TPC_Input_Shoulder
    • TPC_Input.CameraMovementActions
    • TPC_Input.ICameraMovementActions
    • TPC_LockOnCollector
    • TPC_LockOnJob
    • TPC_LockOnOptions
    • TPC_LockOnState
    • TPC_MainCamera
    • TPC_MainSystem
    • TPC_RaycasHitsCollector
    • TPC_ShoulderJob
    • TPC_ShoulderOptions
    • TPC_SmoothedTargetPosition
    • TPC_SyncMainCameraSystem
    • TPC_TargetableOffset
    • TPC_TargetableTag

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)
Namespace: DOTS_TPC
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
Type Description
Boolean

MaxFraction

Declaration
public readonly float MaxFraction { get; }
Property Value
Type Description
Single

NumHits

Declaration
public int NumHits { readonly get; }
Property Value
Type Description
Int32

Methods

AddHit(ColliderCastHit)

Declaration
public bool AddHit(ColliderCastHit hit)
Parameters
Type Name Description
ColliderCastHit hit
Returns
Type Description
Boolean

AddHit(RaycastHit)

Declaration
public bool AddHit(RaycastHit hit)
Parameters
Type Name Description
RaycastHit hit
Returns
Type Description
Boolean

Implements

Unity.Physics.ICollector<T>
In This Article
Back to top Generated by DocFX