UDrawSphereComponent::ComponentIsTouchingSelectionFrustum

Determines whether the supplied frustum intersects with the component.

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::ComponentIsTouchingSelectionFrustum()

UDrawSphereComponent::ComponentIsTouchingSelectionFrustum()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/DrawSphereComponent.h

Include

#include "Components/DrawSphereComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/DrawSphereComponent.cpp

Syntax

virtual bool ComponentIsTouchingSelectionFrustum
(
    const FConvexVolume & InFrustum,
    const FEngineShowFlags & ShowFlags,
    const bool bConsiderOnlyBSP,
    const bool bMustEncompassEntireComponent
) const

Remarks

Determines whether the supplied frustum intersects with the component. Used by the editor in perspective viewports.

Returns

true if the supplied bounding box is determined to intersect the component (partially or wholly)

Parameters

Parameter

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback