Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Determines whether the supplied bounding box intersects with the component. Used by the editor in orthographic viewports.
Derived Overrides
- UArrowComponent::ComponentIsTouchingSelectionBox
- UBillboardComponent::ComponentIsTouchingSelectionBox
- UBrushComponent::ComponentIsTouchingSelectionBox
- UDrawSphereComponent::ComponentIsTouchingSelectionBox
- UInstancedStaticMeshComponent::ComponentIsTouchingSelectionBox
- USkeletalMeshComponent::ComponentIsTouchingSelectionBox
- UStaticMeshComponent::ComponentIsTouchingSelectionBox
| Name | ComponentIsTouchingSelectionBox |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual bool ComponentIsTouchingSelectionBox
(
const FBox & InSelBBox,
const bool bConsiderOnlyBSP,
const bool bMustEncompassEntireComponent
) const
true if the supplied bounding box is determined to intersect the component (partially or wholly)
Parameters
| Name | Remarks |
|---|---|
| InSelBBox | Bounding box to test against |
| bConsiderOnlyBSP | If only BSP geometry should be tested |
| bMustEncompassEntireComponent | Whether the component bounding box must lay wholly within the supplied bounding box |