Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedStaticMeshComponent
Description
Determines whether the supplied frustum intersects with the component. Used by the editor in perspective viewports.
Virtual Inheritance
- UPrimitiveComponent::ComponentIsTouchingSelectionFrustum → UStaticMeshComponent::ComponentIsTouchingSelectionFrustum → UInstancedStaticMeshComponent::ComponentIsTouchingSelectionFrustum
| Name | ComponentIsTouchingSelectionFrustum |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.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 |