UBoxComponent::GetCollisionShape

Return a CollisionShape that most closely matches this primitive.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::GetCollisionShape()

UBoxComponent::GetCollisionShape()

References

Module

Engine

Header

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

Include

#include "Components/BoxComponent.h"

Source

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

Syntax

virtual FCollisionShape GetCollisionShape
(
    float Inflation
) const

Remarks

Return a CollisionShape that most closely matches this primitive.