Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/TargetInterfaces > API/Runtime/InteractiveToolsFramework/TargetInterfaces/IPrimitiveCompon-
- IPrimitiveComponentBackedTarget::HitTestComponent()
- UPrimitiveComponentToolTarget::HitTestComponent()
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/TargetInterfaces/PrimitiveComponentBackedTarget.h |
| Include | #include "TargetInterfaces/PrimitiveComponentBackedTarget.h" |
bool HitTestComponent
&40;
const FRay & WorldRay,
FHitResult & OutHit
&41; const
Remarks
Compute ray intersection with the MeshDescription this Source is providing true if ray intersected Component
Parameters
| Name | Description |
|---|---|
| WorldRay | ray in world space |
| OutHit | hit test data |