Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/UClusterUnionComponent > API/Runtime/Engine/PhysicsEngine/UClusterUnionComponent/LineTraceComponent
- UPrimitiveComponent::LineTraceComponent()
- UClusterUnionComponent::LineTraceComponent()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ClusterUnionComponent.h |
| Include | #include "PhysicsEngine/ClusterUnionComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ClusterUnionComponent.cpp |
virtual bool LineTraceComponent
&40;
FHitResult & OutHit,
const FVector Start,
const FVector End,
ECollisionChannel TraceChannel,
const struct FCollisionQueryParams & Params,
const struct FCollisionResponseParams & ResponseParams,
const struct FCollisionObjectQueryParams & ObjectParams
&41;
Remarks
Trace a ray against just this component. true if a hit is found
Parameters
| Name | Description |
|---|---|
| OutHit | Information about hit against this component, if true is returned |
| Start | Start location of the ray |
| End | End location of the ray |
| TraceChannel | The 'channel' that this query is in, used to determine which components to hit |
| Params | Additional parameters used for the trace |
| ResponseParam | ResponseContainer to be used for this trace |
| ObjectQueryParams | List of object types it's looking for |