UBillboardComponent::ComponentIsTouchingSelectionBox

Determines whether the supplied bounding box intersects with the component.

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::ComponentIsTouchingSelectionBox()

UBillboardComponent::ComponentIsTouchingSelectionBox()

References

Module

Engine

Header

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

Include

#include "Components/BillboardComponent.h"

Source

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

Syntax

virtual bool ComponentIsTouchingSelectionBox
(
    const FBox & InSelBBox,
    const FEngineShowFlags & ShowFlags,
    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.

Returns

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

Parameters

Parameter

Description

InSelBBox

Bounding box 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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss