Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool OverlapComponent
(
const FVector& Pos, |
Test the collision of the supplied shape at the supplied location, and determine if it overlaps this component. | Components/PrimitiveComponent.h | |
virtual bool OverlapComponent
(
const FVector& Pos, |
Components/PrimitiveComponent.h |
OverlapComponent(const FVector &, const FQuat &, const FCollisionShape &)
Description
Test the collision of the supplied shape at the supplied location, and determine if it overlaps this component.
| Name | OverlapComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
virtual bool OverlapComponent
(
const FVector & Pos,
const FQuat & Rot,
const FCollisionShape & CollisionShape
)
true if PrimComp overlaps this component at the specified location/rotation
Parameters
| Name | Remarks |
|---|---|
| Pos | Location to place PrimComp geometry at |
| Rot | Rotation of PrimComp geometry |
| CollisionShape | Shape of collision of PrimComp geometry |
OverlapComponent(const FVector &, const FQuat &, const FCollisionShape &)
| Name | OverlapComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
virtual bool OverlapComponent
(
const FVector & Pos,
const FQuat & Rot,
const FCollisionShape & CollisionShape
) const