FPrimitiveComponentTarget::HitTest

Compute ray intersection with the MeshDescription this Source is providing

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/ComponentSourceInterfaces.h

Include

#include "ComponentSourceInterfaces.h"

Source

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/ComponentSourceInterfaces.cpp

Syntax

bool HitTest
(
    const FRay & WorldRay,
    FHitResult & OutHit
) const

Remarks

Compute ray intersection with the MeshDescription this Source is providing

Returns

true if ray intersected Component

Parameters

Parameter

Description

WorldRay

ray in world space

OutHit

hit test data

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss