![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <OverlapResult.h>
Public Member Functions | |
| UE_INTERNAL int32 | GetItemIndexInternal () const |
| ENGINE_API int32 | GetItemIndex () const |
| ENGINE_API void | SetItemIndex (const int32 InItemIndex) |
| AActor * | GetActor () const |
| UPrimitiveComponent * | GetComponent () const |
| FOverlapResult () | |
Public Attributes | |
| FActorInstanceHandle | OverlapObjectHandle |
| TWeakObjectPtr< class UPrimitiveComponent > | Component |
| int32 | ItemIndex |
| TWeakObjectPtr< UObject > | PhysicsObjectOwner |
| Chaos::FPhysicsObjectHandle | PhysicsObject |
| uint32 | bBlockingHit: 1 |
Structure containing information about one hit of an overlap test
|
inline |
|
inline |
Utility to return the Actor that owns the Component that was hit
|
inline |
Utility to return the Component that was hit
| int32 FOverlapResult::GetItemIndex | ( | ) | const |
| int32 FOverlapResult::GetItemIndexInternal | ( | ) | const |
| uint32 FOverlapResult::bBlockingHit |
Indicates if this hit was requesting a block - if false, was requesting a touch instead
| TWeakObjectPtr<class UPrimitiveComponent> FOverlapResult::Component |
PrimitiveComponent that the check hit.
| int32 FOverlapResult::ItemIndex |
This is the index of the overlapping item. For DestructibleComponents, this is the ChunkInfo index. For SkeletalMeshComponents this is the Body index or INDEX_NONE for single body
| FActorInstanceHandle FOverlapResult::OverlapObjectHandle |
| Chaos::FPhysicsObjectHandle FOverlapResult::PhysicsObject |
PhysicsObjects hit by the query. Not exposed to blueprints for the time being
| TWeakObjectPtr<UObject> FOverlapResult::PhysicsObjectOwner |
The object that owns the PhysicsObject. This is used to determine if the PhysicsObject is still valid when not owned by an Actor