UPrimitiveComponent::GetOverlapsWithActor

Appends list of overlaps with components owned by the given actor to the 'OutOverlaps' array.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/PrimitiveComponent.h"

Source

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

Syntax

bool GetOverlapsWithActor
(
    const AActor * Actor,
    TArray< FOverlapInfo > & OutOverlaps
) const

Remarks

Appends list of overlaps with components owned by the given actor to the 'OutOverlaps' array. Returns true if any overlaps were added.

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