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" |
virtual bool LineTraceComponent
(
FHitResult & OutHit,
const FVector Start,
const FVector End,
const FCollisionQueryParams & Params
)
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 |
| Params | Additional parameters used for the trace |