Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SphereComponent.h |
Include |
#include "Components/SphereComponent.h" |
class USphereComponent : public UShapeComponent
A sphere generally used for simple collision. Bounds are rendered as lines in the editor.
Name | Description | ||
---|---|---|---|
|
float |
SphereRadius |
The radius of the sphere |
Name | Description | |
---|---|---|
|
USphereComponent ( |
Name | Description | ||
---|---|---|---|
|
float |
GetScaledSphereRadius() |
|
|
float |
GetShapeScale() |
Get the scale used by this shape. |
|
float |
GetUnscaledSphereRadius() |
|
|
InitSphereRadius ( |
Sets the sphere radius without triggering a render or physics update. |
|
|
SetSphereRadius ( |
Change the sphere radius. This is the unscaled radius, before component scale is applied. |
Name | Description | ||
---|---|---|---|
|
UpdateBodySetup() |
Update the body setup parameters based on shape information |
Name | Description | ||
---|---|---|---|
|
AreSymmetricRotations |
Returns true if the given transforms result in the same bounds, due to rotational symmetry. |
|
|
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. |
|
IsZeroExtent() |
This isn't bound extent, but for shape component to utilize extent is 0. |
Name | Description | ||
---|---|---|---|
|
CalcBoundingCylinder ( |
Calculate the axis-aligned bounding cylinder of the component (radius in X-Y, half-height along Z axis). |
|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |