ULandscapeHeightfieldCollisionComponent::ComponentIsTouchingSelectionFrustum

Determines whether the supplied frustum intersects with the component.

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::ComponentIsTouchingSelectionFrustum()

ULandscapeHeightfieldCollisionComponent::ComponentIsTouchingSelectionFrustum()

References

Module

Landscape

Header

/Engine/Source/Runtime/Landscape/Classes/LandscapeHeightfieldCollisionComponent.h

Include

#include "LandscapeHeightfieldCollisionComponent.h"

Source

/Engine/Source/Runtime/Landscape/Private/LandscapeCollision.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

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