Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Elements > API/Runtime/Engine/Elements/Component > API/Runtime/Engine/Elements/Component/UComponentElementWorldInterface
- ITypedElementWorldInterface::AddIgnoredElementToCollisionQueryParams()
- UComponentElementWorldInterface::AddIgnoredElementToCollisionQueryParams()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Elements/Component/ComponentElementWorldInterface.h |
| Include | #include "Elements/Component/ComponentElementWorldInterface.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Elements/Component/ComponentElementWorldInterface.cpp |
virtual bool AddIgnoredElementToCollisionQueryParams
(
const FTypedElementHandle & InElementHandle,
FCollisionQueryParams & InOutParams,
bool bAlsoIgnoreSubElements
)
Remarks
Attempt to modify FCollisionQueryParams so that the given element (and optionally any attached sub-elements, if the element is part of a hierarchy) is ignored in the query.
For instance, this can be used to support dragging elements into the scene and raycasting for a target location without hitting the preview. true if the collision query parameters were modified.