Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent > API/Runtime/Engine/Components/UPrimitiveComponent/ComponentIsTouchingSelectionBox
Deprecated * This function is deprecated. Use the function IsShown and the overload that doesn't take an EngineShowFlags instead.
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual bool ComponentIsTouchingSelectionBox
&40;
const FBox & InSelBBox,
const FEngineShowFlags & ShowFlags,
const bool bConsiderOnlyBSP,
const bool bMustEncompassEntireComponent
&41; const
Remarks
Determines whether the supplied bounding box intersects with the component. Used by the editor in orthographic viewports. true if the supplied bounding box is determined to intersect the component (partially or wholly)
Parameters
| Name | Description |
|---|---|
| InSelBBox | Bounding box to test against |
| ShowFlags | Engine ShowFlags for the viewport |
| bConsiderOnlyBSP | If only BSP geometry should be tested |
| bMustEncompassEntireComponent | Whether the component bounding box must lay wholly within the supplied bounding box |