Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
- UPrimitiveComponent::GetCollisionShape()
- UBoxComponent::GetCollisionShape()
- UCapsuleComponent::GetCollisionShape()
- USphereComponent::GetCollisionShape()
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 |
virtual FCollisionShape GetCollisionShape
(
float Inflation
) const
Remarks
Return a CollisionShape that most closely matches this primitive.