• 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_AllHitsCollector

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_AllHitsCollector : ICollector<ColliderCastHit>

Constructors

TPC_AllHitsCollector(ComponentLookup<TPC_IgnoreTag>, PhysicsWorld, Entity, float3)

Declaration
public TPC_AllHitsCollector(ComponentLookup<TPC_IgnoreTag> ignoreTagLookup, PhysicsWorld physicsWorld, Entity targetEntity, float3 raycastDirection)
Parameters
Type Name Description
ComponentLookup<TPC_IgnoreTag> ignoreTagLookup
PhysicsWorld physicsWorld
Entity targetEntity
float3 raycastDirection

Fields

AllHits

Declaration
public NativeList<ColliderCastHit> AllHits
Field Value
Type Description
NativeList<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 readonly int NumHits { 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

UpdateDirection(Single)

Declaration
public void UpdateDirection(float newDir)
Parameters
Type Name Description
Single newDir

Implements

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