Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent > API/Runtime/Engine/Components/UPrimitiveComponent/ComponentIsTouch-
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 ComponentIsTouchingSelectionFrustum
&40;
const FConvexVolume & InFrustum,
const FEngineShowFlags & ShowFlags,
const bool bConsiderOnlyBSP,
const bool bMustEncompassEntireComponent
&41; const
Remarks
Determines whether the supplied frustum intersects with the component. Used by the editor in perspective viewports. true if the supplied bounding box is determined to intersect the component (partially or wholly)
Parameters
| Name | Description |
|---|---|
| InFrustum | Frustum 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 |