Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/BoxComponent.h |
Include |
#include "Components/BoxComponent.h" |
class UBoxComponent : public UShapeComponent
A box generally used for simple collision. Bounds are rendered as lines in the editor.
Name | Description | ||
---|---|---|---|
|
FVector |
BoxExtent |
The extents (radii dimensions) of the box |
|
float |
LineThickness |
Used to control the line thickness when rendering |
Name | Description | |
---|---|---|
|
UBoxComponent ( |
Name | Description | ||
---|---|---|---|
|
FVector |
GetScaledBoxExtent() |
|
|
FVector |
GetUnscaledBoxExtent() |
|
|
void |
InitBoxExtent ( |
Sets the box extents without triggering a render or physics update. |
|
void |
SetBoxExtent ( |
Change the box extent size. This is the unscaled size, before component scale is applied. |
|
void |
SetLineThickness ( |
Set the LineThickness. |
Name | Description | ||
---|---|---|---|
|
void |
UpdateBodySetup() |
Update the body setup parameters based on shape information |
Name | Description | ||
---|---|---|---|
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
|
FCollisionSh... |
GetCollisionShape ( |
Return a CollisionShape that most closely matches this primitive. |
|
bool |
IsZeroExtent() |
This isn't bound extent, but for shape component to utilize extent is 0. |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |