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