Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UStaticMeshComponent
- UPrimitiveComponent::ComponentIsTouchingSelectionBox()
- UStaticMeshComponent::ComponentIsTouchingSelectionBox()
- UInstancedStaticMeshComponent::ComponentIsTouchingSelectionBox()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/StaticMeshComponent.h |
| Include | #include "Components/StaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/StaticMeshComponent.cpp |
virtual bool ComponentIsTouchingSelectionBox
(
const FBox & InSelBBox,
const bool bConsiderOnlyBSP,
const bool bMustEncompassEntireComponent
) 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 |
| bConsiderOnlyBSP | If only BSP geometry should be tested |
| bMustEncompassEntireComponent | Whether the component bounding box must lay wholly within the supplied bounding box |