Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Description
Determines whether the supplied frustum intersects with the component. Used by the editor in perspective viewports.
Derived Overrides
- UArrowComponent::ComponentIsTouchingSelectionFrustum
- UBillboardComponent::ComponentIsTouchingSelectionFrustum
- UBrushComponent::ComponentIsTouchingSelectionFrustum
- UDrawSphereComponent::ComponentIsTouchingSelectionFrustum
- UInstancedStaticMeshComponent::ComponentIsTouchingSelectionFrustum
- USkeletalMeshComponent::ComponentIsTouchingSelectionFrustum
- UStaticMeshComponent::ComponentIsTouchingSelectionFrustum
| Name | ComponentIsTouchingSelectionFrustum |
| 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 ComponentIsTouchingSelectionFrustum
(
const FConvexVolume & InFrustum,
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 |
|---|---|
| InFrustum | Frustum 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 |