Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/FPrimitiveComponentTarget
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/ComponentSourceInterfaces.h |
| Include | #include "ComponentSourceInterfaces.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/ComponentSourceInterfaces.cpp |
bool HitTest
(
const FRay & WorldRay,
FHitResult & OutHit
) 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 |